diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-09-18 20:28:15 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-09-18 20:28:15 +0000 |
commit | 63cc6de8fd2e6f5f1a997b2e7e4512c1c8f4126f (patch) | |
tree | 72e432ee124eb5ba68e4c44e5b6282f459056f7a /bin | |
parent | 439ddb8e72057fae22e28540fcce0293f56f6ffb (diff) |
Improve exception message if a Daemon is used without being configured first
Diffstat (limited to 'bin')
-rw-r--r-- | bin/bbackupd/BackupClientDirectoryRecord.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupClientDirectoryRecord.h b/bin/bbackupd/BackupClientDirectoryRecord.h index 7c2b98fc..05349cd0 100644 --- a/bin/bbackupd/BackupClientDirectoryRecord.h +++ b/bin/bbackupd/BackupClientDirectoryRecord.h @@ -152,13 +152,16 @@ private: void UpdateAttributes(SyncParams &rParams, BackupStoreDirectory *pDirOnStore, const std::string &rLocalPath); - bool UpdateItems(SyncParams &rParams, const std::string &rLocalPath, +protected: // to allow tests to hook in before UpdateItems() runs + virtual bool UpdateItems(SyncParams &rParams, + const std::string &rLocalPath, const std::string &rRemotePath, const Location& rBackupLocation, BackupStoreDirectory *pDirOnStore, std::vector<BackupStoreDirectory::Entry *> &rEntriesLeftOver, std::vector<std::string> &rFiles, const std::vector<std::string> &rDirs); +private: int64_t CreateRemoteDir(const std::string& localDirPath, const std::string& nonVssDirPath, const std::string& remoteDirPath, |