diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-05-28 14:27:21 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-05-28 14:27:21 +0000 |
commit | 418db4f877dd201312d485dd1717c87089874a0a (patch) | |
tree | 7c842fcb3e0bf0dae62ebd4ef6d0d4a1d3aba054 /bin/bbstored/HousekeepStoreAccount.h | |
parent | e43fdd9d7acacd6d711b7f120e5b477767ad11c1 (diff) |
Reformat for readability.
Log removal of directories by housekeeping.
Diffstat (limited to 'bin/bbstored/HousekeepStoreAccount.h')
-rw-r--r-- | bin/bbstored/HousekeepStoreAccount.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bbstored/HousekeepStoreAccount.h b/bin/bbstored/HousekeepStoreAccount.h index 6c8f251d..5c2a9885 100644 --- a/bin/bbstored/HousekeepStoreAccount.h +++ b/bin/bbstored/HousekeepStoreAccount.h @@ -42,6 +42,8 @@ private: bool ScanDirectory(int64_t ObjectID); bool DeleteFiles(); bool DeleteEmptyDirectories(); + void DeleteEmptyDirectory(int64_t dirId, + std::vector<int64_t>& rToExamine); void DeleteFile(int64_t InDirectory, int64_t ObjectID, BackupStoreDirectory &rDirectory, const std::string &rDirectoryFilename, int64_t OriginalDirSizeInBlocks); private: @@ -52,6 +54,7 @@ private: int64_t mSizeInBlocks; int32_t mMarkNumber; int32_t mVersionAgeWithinMark; // 0 == current, 1 latest old version, etc + bool mIsFlagDeleted; // false for files flagged "Old" } DelEn; struct DelEnCompare |