diff options
| author | Stefan Boberg <[email protected]> | 2021-05-21 20:43:36 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-05-21 20:43:36 +0200 |
| commit | edb2ea0cae30aeac74d1d48ab9754754f010c818 (patch) | |
| tree | 5b0fc3aa38ea21cdf06c004ee7acf2915d5a369f /zenserver/projectstore.cpp | |
| parent | Partial refactoring of structured cache implementation - WIP (diff) | |
| download | zen-edb2ea0cae30aeac74d1d48ab9754754f010c818.tar.xz zen-edb2ea0cae30aeac74d1d48ab9754754f010c818.zip | |
Renamed CasBlobFile -> BasicFile
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index e30742e33..c99fa4232 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -229,7 +229,7 @@ private: std::filesystem::path m_OplogStoragePath; RwLock m_RwLock; TCasLogFile<OplogEntry> m_Oplog; - CasBlobFile m_OpBlobs; + BasicFile m_OpBlobs; std::atomic<uint64_t> m_NextOpsOffset{0}; uint64_t m_OpsAlign = 32; std::atomic<uint32_t> m_MaxLsn{0}; @@ -463,7 +463,7 @@ ProjectStore::Project::Read() spdlog::info("reading config for project '{}' from {}", Identifier, ProjectStateFilePath); - CasBlobFile Blob; + BasicFile Blob; Blob.Open(ProjectStateFilePath, false); IoBuffer Obj = Blob.ReadAll(); @@ -504,7 +504,7 @@ ProjectStore::Project::Write() spdlog::info("persisting config for project '{}' to {}", Identifier, ProjectStateFilePath); - CasBlobFile Blob; + BasicFile Blob; Blob.Open(ProjectStateFilePath, true); Blob.Write(Mem.Data(), Mem.Size(), 0); Blob.Flush(); |