This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef SHARED_COMMANDS_HPP
|
||||
#define SHARED_COMMANDS_HPP
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
#include "servers.hpp"
|
||||
#include "command_registry.hpp"
|
||||
#include "servers.hpp"
|
||||
@@ -40,6 +42,16 @@ namespace dropshell
|
||||
std::string mUser;
|
||||
};
|
||||
|
||||
class cLocalTempFolder
|
||||
{
|
||||
public:
|
||||
cLocalTempFolder(); // create a temp folder on the local machine
|
||||
~cLocalTempFolder(); // delete the temp folder on the local machine
|
||||
std::filesystem::path path() const; // get the path to the temp folder on the local machine
|
||||
private:
|
||||
std::filesystem::path mPath;
|
||||
};
|
||||
|
||||
bool rsync_tree_to_remote(
|
||||
const std::string &local_path,
|
||||
const std::string &remote_path,
|
||||
|
Reference in New Issue
Block a user