Major refactor
This commit is contained in:
@@ -32,11 +32,6 @@ namespace dropshell
|
||||
return (servicepath.empty() ? "" : (fs::path(servicepath) / filenames::service_env).string());
|
||||
}
|
||||
|
||||
std::string template_example()
|
||||
{
|
||||
return localpath::agent_local() + "/template_example";
|
||||
}
|
||||
|
||||
std::string bb64()
|
||||
{
|
||||
return localpath::agent_local() + "/bb64";
|
||||
@@ -114,6 +109,12 @@ namespace dropshell
|
||||
return dropshell_dir() + "/template_cache";
|
||||
}
|
||||
|
||||
std::string template_example()
|
||||
{
|
||||
return agent_local() + "/template_example";
|
||||
}
|
||||
|
||||
|
||||
bool create_directories()
|
||||
{
|
||||
std::vector<std::filesystem::path> paths = {
|
||||
|
||||
@@ -53,7 +53,6 @@ namespace dropshell {
|
||||
std::string dropshell_json();
|
||||
std::string server_json(const std::string &server_name);
|
||||
std::string service_env(const std::string &server_name, const std::string &service_name);
|
||||
std::string template_example();
|
||||
std::string bb64();
|
||||
} // namespace localfile
|
||||
|
||||
@@ -68,6 +67,8 @@ namespace dropshell {
|
||||
std::string current_user_home();
|
||||
std::string user_local_bin(); // ~/.local/bin directory for user executables
|
||||
|
||||
std::string template_example();
|
||||
|
||||
std::string backups();
|
||||
std::string temp_files();
|
||||
std::string template_cache();
|
||||
|
||||
Reference in New Issue
Block a user