feat: Update 14 and remove 1 files
This commit is contained in:
@@ -175,6 +175,11 @@ namespace dropshell
|
||||
return remotepath(mServer_name, mUser).DROPSHELL_DIR() + "/" + filenames::server_info_env;
|
||||
}
|
||||
|
||||
std::string remotefile::ds_run()
|
||||
{
|
||||
return remotepath(mServer_name,mUser).agent() + "/" + filenames::ds_run;
|
||||
}
|
||||
|
||||
remotepath::remotepath(const std::string &server_name, const std::string &user) : mServer_name(server_name), mUser(user) {}
|
||||
|
||||
std::string remotepath::DROPSHELL_DIR() const
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace dropshell {
|
||||
static const std::string readme = "README.txt";
|
||||
static const std::string server_json = "server.json";
|
||||
static const std::string dropshell_json = "dropshell.json";
|
||||
static const std::string ds_run = "ds_run.sh";
|
||||
} // namespace filenames.
|
||||
|
||||
namespace localfile {
|
||||
@@ -105,6 +106,7 @@ namespace dropshell {
|
||||
std::string service_env(const std::string &service_name) const;
|
||||
std::string server_json();
|
||||
std::string server_info_env();
|
||||
std::string ds_run();
|
||||
private:
|
||||
std::string mServer_name;
|
||||
std::string mUser;
|
||||
|
||||
Reference in New Issue
Block a user