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

Method flush

src/indexes/usv.rs:264–268  ·  view source on GitHub ↗
(&self, _: &Collection, _version: VersionNumber)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

serializeMethod · 0.45
flush_allMethod · 0.45

Tested by

no test coverage detected