Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ size
Method
size
crates/core/src/database_logger.rs:91–93 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
89
}
90
91
fn size(&self) -> io::Result<u64> {
92
self.file.metadata().map(|stat| stat.len())
93
}
94
95
fn tail(&self, n: u32) -> io::Result<Bytes> {
96
let mut file = File::open(&self.path)?;
Callers
2
log_file_size
Method · 0.45
run
Method · 0.45
Calls
8
send
Method · 0.65
Ok
Function · 0.50
asyncify
Function · 0.50
map
Method · 0.45
metadata
Method · 0.45
len
Method · 0.45
blocking_recv
Method · 0.45
clone
Method · 0.45
Tested by
no test coverage detected