summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupStoreFile.cpp
Commit message (Collapse)AuthorAge
* Add a shortcut interface to uploading a new file.Chris Wilson2014-02-13
| | | | Useful in tests.
* Pass std::auto_ptr objects to Protocol for upload.Chris Wilson2013-08-22
| | | | | | | | | | | Passing raw pointers is bad C++ style, and dangerous, because Protocol will free the passed-in pointers after uploading them, so we should not keep using them. Reduce code duplication in BackupClientDirectoryRecord patch/normal upload. Return a std::auto_ptr<BackupStoreFileEncodeStream> instead of a std::auto_ptr<IOStream> from BackupStoreFile::EncodeFile* functions.
* Pass std::strings to functions instead of const char *, for C++ style.Chris Wilson2013-08-21
|
* Major refactoring to make lib/backupclient depend on lib/backupstore ratherChris Wilson2011-04-26
than the other way around. This is needed to allow clients to have all the code that they'd need to implement local backups (using the Local protocol) in subsequent commits.