Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ fsync
Method
fsync
crates/commitlog/src/stream/common.rs:41–43 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
39
40
impl<T: AsyncWrite + AsyncFsync + Send + Sync> AsyncFsync for tokio::io::BufWriter<T> {
41
async fn fsync(&self) {
42
self.get_ref().fsync().await
43
}
44
}
45
46
impl AsyncFsync for tokio::fs::File {
Callers
1
flush_and_sync
Method · 0.45
Calls
1
sync_data
Method · 0.80
Tested by
no test coverage detected