docs: Update 7 files
This commit is contained in:
@@ -83,7 +83,7 @@ namespace dropshell
|
||||
std::string user)
|
||||
{
|
||||
ASSERT(!local_path.empty() && !remote_path.empty(), "Local or remote path not specified. Can't rsync.");
|
||||
ASSERT(std::filesystem::is_block_file(local_path), "Local path is not a file. Can't rsync.");
|
||||
ASSERT(std::filesystem::is_regular_file(local_path), "Local path "+local_path+" is not a file. Can't rsync.");
|
||||
|
||||
std::string rsync_cmd = "rsync --mkpath -zpc -e 'ssh -p " + server_env.get_SSH_PORT() + "' " +
|
||||
quote(local_path) + " " +
|
||||
|
||||
Reference in New Issue
Block a user