Skip to content

Commit

Permalink
Refactor BackupStoreContext::GetBackupStoreInfo
Browse files Browse the repository at this point in the history
Almost all access to mapStoreInfo is now via GetBackupStoreInfo(Internal), in
preparation for the refactor that will move the main copy of the
BackupStoreInfo to the BackupFileSystem instance instead.
  • Loading branch information
qris committed Jul 23, 2017
1 parent d33905c commit 2f2e3c4
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 141 deletions.
4 changes: 2 additions & 2 deletions lib/backupstore/BackupProtocol.h
Expand Up @@ -29,10 +29,10 @@ class BackupProtocolLocal2 : public BackupProtocolLocal
int32_t mAccountNumber;
bool mReadOnly;

protected:
public:
// This is not intended to be an API, but is useful in tests:
BackupStoreContext& GetContext() { return mContext; }

public:
BackupProtocolLocal2(int32_t AccountNumber,
const std::string& ConnectionDetails,
const std::string& AccountRootDir, int DiscSetNumber,
Expand Down

0 comments on commit 2f2e3c4

Please sign in to comment.