MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / tx_offset

Method tx_offset

crates/paths/src/server.rs:237–241  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

235 }
236
237 pub fn tx_offset(&self) -> Option<u64> {
238 self.0
239 .file_stem()
240 .and_then(|s| s.to_str()?.split('.').next()?.parse::<u64>().ok())
241 }
242}
243
244path_type! {

Callers 2

request_durabilityFunction · 0.45
maybe_do_snapshotMethod · 0.45

Calls 3

splitMethod · 0.80
okMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected