diff options
Diffstat (limited to 'lib/backupstore/BackupStoreContext.cpp')
-rw-r--r-- | lib/backupstore/BackupStoreContext.cpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/lib/backupstore/BackupStoreContext.cpp b/lib/backupstore/BackupStoreContext.cpp index 22239532..75e78334 100644 --- a/lib/backupstore/BackupStoreContext.cpp +++ b/lib/backupstore/BackupStoreContext.cpp @@ -70,6 +70,7 @@ BackupStoreContext::BackupStoreContext(int32_t ClientID, { } + // -------------------------------------------------------------------------- // // Function @@ -83,6 +84,7 @@ BackupStoreContext::~BackupStoreContext() ClearDirectoryCache(); } + void BackupStoreContext::ClearDirectoryCache() { // Delete the objects in the cache @@ -94,6 +96,7 @@ void BackupStoreContext::ClearDirectoryCache() mDirectoryCache.clear(); } + // -------------------------------------------------------------------------- // // Function @@ -112,6 +115,7 @@ void BackupStoreContext::CleanUp() } } + // -------------------------------------------------------------------------- // // Function @@ -412,6 +416,7 @@ BackupStoreDirectory &BackupStoreContext::GetDirectoryInternal(int64_t ObjectID, return *pdir; } + // -------------------------------------------------------------------------- // // Function @@ -790,8 +795,11 @@ int64_t BackupStoreContext::AddFile(IOStream &rFile, int64_t InDirectory, // -------------------------------------------------------------------------- // // Function -// Name: BackupStoreContext::DeleteFile(const BackupStoreFilename &, int64_t, int64_t &) -// Purpose: Deletes a file, returning true if the file existed. Object ID returned too, set to zero if not found. +// Name: BackupStoreContext::DeleteFile( +// const BackupStoreFilename &, int64_t, int64_t &) +// Purpose: Deletes a file by name, returning true if the file +// existed. Object ID returned too, set to zero if not +// found. // Created: 2003/10/21 // // -------------------------------------------------------------------------- @@ -1201,6 +1209,7 @@ int64_t BackupStoreContext::AddDirectory(int64_t InDirectory, return id; } + // -------------------------------------------------------------------------- // // Function @@ -1278,6 +1287,7 @@ void BackupStoreContext::DeleteDirectory(int64_t ObjectID, bool Undelete) } } + // -------------------------------------------------------------------------- // // Function @@ -1389,7 +1399,6 @@ void BackupStoreContext::DeleteDirectoryRecurse(int64_t ObjectID, bool Undelete) } - // -------------------------------------------------------------------------- // // Function @@ -1427,6 +1436,7 @@ void BackupStoreContext::ChangeDirAttributes(int64_t Directory, const Streamable } } + // -------------------------------------------------------------------------- // // Function @@ -1915,7 +1925,6 @@ void BackupStoreContext::MoveObject(int64_t ObjectID, int64_t MoveFromDirectory, } - // -------------------------------------------------------------------------- // // Function @@ -1934,4 +1943,3 @@ const BackupStoreInfo &BackupStoreContext::GetBackupStoreInfo() const return *(mapStoreInfo.get()); } - |