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

Method should_final_flush

src/models/buffered_io.rs:57–59  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

55 }
56
57 fn should_final_flush(&self) -> bool {
58 self.dirty.load(Ordering::SeqCst)
59 }
60
61 fn flush(&self) -> Result<(), BufIoError> {
62 let mut file = self.file.write().map_err(|_| BufIoError::Locking)?;

Callers 3

dropMethod · 0.80
newMethod · 0.80
flushMethod · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected