24 #ifndef STORAGE_REMOTE_H
25 #define STORAGE_REMOTE_H
45 : stdout(stdout), stderr(), exit_code(0) {}
47 const std::vector<std::string>& stderr,
int exit_code)
48 : stdout(stdout), stderr(stderr), exit_code(exit_code) {}
50 std::vector<std::string> stdout;
51 std::vector<std::string> stderr;
67 RemoteFile(
const std::vector<std::string>& content) : content(content) {}
69 std::vector<std::string> content;
84 virtual RemoteCommand get_command(
const std::string& name)
const = 0;
85 virtual RemoteFile get_file(
const std::string& name)
const = 0;