MCPcopy Create free account
hub / github.com/cosdata/cosdata / flush

Method flush

src/indexes/inverted/mod.rs:265–269  ·  view source on GitHub ↗
(&self, _: &Collection, _version: VersionNumber)

Source from the content-addressed store, hash-verified

263 }
264
265 fn flush(&self, _: &Collection, _version: VersionNumber) -> Result<(), WaCustomError> {
266 self.root.serialize()?;
267 self.root.cache.flush_all()?;
268 Ok(())
269 }
270
271 fn get_data(&self) -> Self::Data {
272 Self::Data {

Callers

nothing calls this directly

Calls 2

serializeMethod · 0.45
flush_allMethod · 0.45

Tested by

no test coverage detected