mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
Use anonymous namespace for BackupContainerLocalDirectory helper functions
This commit is contained in:
parent
961aeaecac
commit
e15a268548
@ -22,7 +22,8 @@
|
|||||||
|
|
||||||
#include "flow/actorcompiler.h" // This must be the last #include.
|
#include "flow/actorcompiler.h" // This must be the last #include.
|
||||||
|
|
||||||
// TODO: Put in namespace
|
namespace {
|
||||||
|
|
||||||
class BackupFile : public IBackupFile, ReferenceCounted<BackupFile> {
|
class BackupFile : public IBackupFile, ReferenceCounted<BackupFile> {
|
||||||
public:
|
public:
|
||||||
BackupFile(std::string fileName, Reference<IAsyncFile> file, std::string finalFullPath)
|
BackupFile(std::string fileName, Reference<IAsyncFile> file, std::string finalFullPath)
|
||||||
@ -77,6 +78,8 @@ ACTOR static Future<BackupContainerFileSystem::FilesAndSizesT> listFiles_impl(st
|
|||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace
|
||||||
|
|
||||||
void BackupContainerLocalDirectory::addref() {
|
void BackupContainerLocalDirectory::addref() {
|
||||||
return ReferenceCounted<BackupContainerLocalDirectory>::addref();
|
return ReferenceCounted<BackupContainerLocalDirectory>::addref();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user