diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-09-13 15:29:26 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-09-13 15:29:26 +0000 |
commit | bed534690981df575f5e6000c28c6b7b6c0d84f4 (patch) | |
tree | fe11494d36104453e9fb7b77d8747384530438a1 /bin/bbstored/BackupStoreContext.h | |
parent | f3d1fd71bd8bb41b2ee95e72ae2d8fcb6a535d48 (diff) |
Add command to undelete a file, to complete the set of commands
implemented by the bbstored server.
Diffstat (limited to 'bin/bbstored/BackupStoreContext.h')
-rw-r--r-- | bin/bbstored/BackupStoreContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bbstored/BackupStoreContext.h b/bin/bbstored/BackupStoreContext.h index da0a7668..4cfdb601 100644 --- a/bin/bbstored/BackupStoreContext.h +++ b/bin/bbstored/BackupStoreContext.h @@ -112,6 +112,7 @@ public: void ChangeDirAttributes(int64_t Directory, const StreamableMemBlock &Attributes, int64_t AttributesModTime); bool ChangeFileAttributes(const BackupStoreFilename &rFilename, int64_t InDirectory, const StreamableMemBlock &Attributes, int64_t AttributesHash, int64_t &rObjectIDOut); bool DeleteFile(const BackupStoreFilename &rFilename, int64_t InDirectory, int64_t &rObjectIDOut); + bool UndeleteFile(int64_t ObjectID, int64_t InDirectory); void DeleteDirectory(int64_t ObjectID, bool Undelete = false); void MoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, const BackupStoreFilename &rNewFilename, bool MoveAllWithSameName, bool AllowMoveOverDeletedObject); |