Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
drop
Method · 0.80
new
Method · 0.80
flush
Method · 0.80
Calls
1
load
Method · 0.80
Tested by
no test coverage detected