|
static void | ensure_trailing_separators (std::string &local_path, std::string &remote_path) |
|
static bool | should_pull_file (mode_t mode) |
|
static bool | should_push_file (mode_t mode) |
|
static bool | sync_ls (SyncConnection &sc, const std::string &path, const std::function< sync_ls_cb > &func) |
|
static bool | sync_stat (SyncConnection &sc, const std::string &path, struct stat *st) |
|
static bool | sync_lstat (SyncConnection &sc, const std::string &path, struct stat *st) |
|
static bool | sync_stat_fallback (SyncConnection &sc, const std::string &path, struct stat *st) |
|
static bool | sync_send (SyncConnection &sc, const std::string &lpath, const std::string &rpath, unsigned mtime, mode_t mode, bool sync, CompressionType compression, bool dry_run) |
|
static bool | sync_recv_v1 (SyncConnection &sc, const char *rpath, const char *lpath, const char *name, uint64_t expected_size) |
|
static bool | sync_recv_v2 (SyncConnection &sc, const char *rpath, const char *lpath, const char *name, uint64_t expected_size, CompressionType compression) |
|
static bool | sync_recv (SyncConnection &sc, const char *rpath, const char *lpath, const char *name, uint64_t expected_size, CompressionType compression) |
|
bool | do_sync_ls (const char *path) |
|
static bool | IsDotOrDotDot (const char *name) |
|
static bool | local_build_list (SyncConnection &sc, std::vector< copyinfo > *file_list, std::vector< std::string > *directory_list, const std::string &lpath, const std::string &rpath) |
|
static bool | is_root_dir (std::string_view path) |
|
static bool | copy_local_dir_remote (SyncConnection &sc, std::string lpath, std::string rpath, bool check_timestamps, bool list_only, CompressionType compression, bool dry_run) |
|
bool | do_sync_push (const std::vector< const char * > &srcs, const char *dst, bool sync, CompressionType compression, bool dry_run, bool quiet) |
|
static bool | remote_build_list (SyncConnection &sc, std::vector< copyinfo > *file_list, const std::string &rpath, const std::string &lpath) |
|
static int | set_time_and_mode (const std::string &lpath, time_t time, unsigned int mode) |
|
static bool | copy_remote_dir_local (SyncConnection &sc, std::string rpath, std::string lpath, bool copy_attrs, CompressionType compression) |
|
bool | do_sync_pull (const std::vector< const char * > &srcs, const char *dst, bool copy_attrs, CompressionType compression, const char *name, bool quiet) |
|
bool | do_sync_sync (const std::string &lpath, const std::string &rpath, bool list_only, CompressionType compression, bool dry_run, bool quiet) |
|