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

Method next_tx_offset

crates/commitlog/src/segment.rs:198–200  ·  view source on GitHub ↗

The next transaction offset to be written if [`Self::commit`] was called.

(&self)

Source from the content-addressed store, hash-verified

196
197 /// The next transaction offset to be written if [`Self::commit`] was called.
198 pub fn next_tx_offset(&self) -> u64 {
199 self.commit.min_tx_offset
200 }
201
202 /// `true` if the segment contains no commits.
203 ///

Callers 2

max_committed_offsetMethod · 0.45
start_new_segmentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected