diff options
| author | Stefan Boberg <[email protected]> | 2021-08-11 12:09:34 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-08-11 12:09:52 +0200 |
| commit | f84f5d9c1ca60c39cb27c806900d6a99727650d3 (patch) | |
| tree | ac7b7b8337456a57175b5750c13424464bfd5fbd /zenstore/cidstore.cpp | |
| parent | trivial: Updated comment (diff) | |
| download | zen-f84f5d9c1ca60c39cb27c806900d6a99727650d3.tar.xz zen-f84f5d9c1ca60c39cb27c806900d6a99727650d3.zip | |
Implemented Flush() operation for CID/CAS store interfaces
Diffstat (limited to 'zenstore/cidstore.cpp')
| -rw-r--r-- | zenstore/cidstore.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zenstore/cidstore.cpp b/zenstore/cidstore.cpp index e041574a4..a89a8ac22 100644 --- a/zenstore/cidstore.cpp +++ b/zenstore/cidstore.cpp @@ -57,6 +57,8 @@ struct CidStore::CidState spdlog::debug("CID index initialized: {} entries found", m_CidMap.size()); } + + void Flush() { m_LogFile.Flush(); } }; ////////////////////////////////////////////////////////////////////////// @@ -82,4 +84,9 @@ CidStore::FindChunkByCid(const IoHash& DecompressedId) return m_Impl->FindChunkByCid(DecompressedId); } +void CidStore::Flush() +{ + m_Impl->Flush(); +} + } // namespace zen |