Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ should_flush
Method
should_flush
src/models/buffered_io.rs:471–473 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
469
}
470
471
fn should_flush(&self) -> bool {
472
self.dirty.load(Ordering::SeqCst)
473
}
474
475
fn flush(&self, file: &mut File) -> Result<(), BufIoError> {
476
file.seek(SeekFrom::Start(self.start))
Callers
2
flush
Method · 0.80
flush_versioned
Method · 0.80
Calls
1
load
Method · 0.80
Tested by
no test coverage detected