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

Method tx_range

crates/commitlog/src/commit.rs:150–152  ·  view source on GitHub ↗

The range of transaction offsets contained in this commit.

(&self)

Source from the content-addressed store, hash-verified

148
149 /// The range of transaction offsets contained in this commit.
150 pub fn tx_range(&self) -> Range<u64> {
151 self.min_tx_offset..self.min_tx_offset + self.n as u64
152 }
153
154 /// Length in bytes of this commit when written to the log via [`Self::write`].
155 pub fn encoded_len(&self) -> usize {

Callers 2

next_commitMethod · 0.80
fromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected