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

Method expected_offset

crates/commitlog/src/commitlog.rs:814–819  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

812 }
813
814 fn expected_offset(&self) -> &u64 {
815 match self {
816 Self::Initial { next_offset } => next_offset,
817 Self::LastSeen { tx_range, .. } => &tx_range.end,
818 }
819 }
820
821 // If initial offset falls within a commit, adjust it to the commit boundary.
822 //

Callers 2

next_commitMethod · 0.80
set_last_errorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected