docs: Update 7 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 39s
Build-Test-Publish / build (linux/arm64) (push) Successful in 3m35s

This commit is contained in:
j
2025-12-30 10:23:08 +13:00
parent c31f08269b
commit 80450aadcc
7 changed files with 54 additions and 20 deletions

View File

@@ -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) + " " +