diff options
Diffstat (limited to 'zenstore')
| -rw-r--r-- | zenstore/cidstore.cpp | 7 | ||||
| -rw-r--r-- | zenstore/include/zenstore/cidstore.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/zenstore/cidstore.cpp b/zenstore/cidstore.cpp index e1b7ac656..6dd33efb2 100644 --- a/zenstore/cidstore.cpp +++ b/zenstore/cidstore.cpp @@ -91,6 +91,7 @@ struct CidStore::CidState } void Flush() { m_LogFile.Flush(); } + void Scrub(ScrubContext& Ctx) { ZEN_UNUSED(Ctx); } }; ////////////////////////////////////////////////////////////////////////// @@ -134,4 +135,10 @@ CidStore::Flush() m_Impl->Flush(); } +void +CidStore::Scrub(ScrubContext& Ctx) +{ + m_Impl->Scrub(Ctx); +} + } // namespace zen diff --git a/zenstore/include/zenstore/cidstore.h b/zenstore/include/zenstore/cidstore.h index f023ada40..49f2bf99a 100644 --- a/zenstore/include/zenstore/cidstore.h +++ b/zenstore/include/zenstore/cidstore.h @@ -45,6 +45,7 @@ public: IoBuffer FindChunkByCid(const IoHash& DecompressedId); bool ContainsChunk(const IoHash& DecompressedId); void Flush(); + void Scrub(ScrubContext& Ctx); // TODO: add batch filter support |