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;
bool operator==(const RemoteFile &rhs) const
Compare content of two Remotefiles.
Contents of an unnamed file (vector of lines)
Definition: Remote.h:64
A result of an unnamed command: stdout + stderr + exit_code.
Definition: Remote.h:41
The storage namespace.
Definition: Actiongraph.h:38
bool operator==(const RemoteCommand &rhs) const
Compare stdout, stderr and exit_code of two RemoteCommands.