MCPcopy 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_sizeMethod · 0.45
runMethod · 0.45

Calls 8

sendMethod · 0.65
OkFunction · 0.50
asyncifyFunction · 0.50
mapMethod · 0.45
metadataMethod · 0.45
lenMethod · 0.45
blocking_recvMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected