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

Method commits

crates/commitlog/src/segment.rs:439–444  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

437
438impl<R: io::BufRead + io::Seek> Reader<R> {
439 pub fn commits(self) -> Commits<R> {
440 Commits {
441 header: self.header,
442 reader: self.inner,
443 }
444 }
445
446 pub fn seek_to_offset(&mut self, index_file: &TxOffsetIndex, start_tx_offset: u64) -> Result<u64, IndexError> {
447 seek_to_offset(&mut self.inner, index_file, start_tx_offset)

Callers 3

transactionsMethod · 0.45
write_read_roundtripFunction · 0.45
commitsFunction · 0.45

Calls

no outgoing calls

Tested by 2

write_read_roundtripFunction · 0.36
commitsFunction · 0.36