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

Method seek_to_offset

crates/commitlog/src/segment.rs:446–448  ·  view source on GitHub ↗
(&mut self, index_file: &TxOffsetIndex, start_tx_offset: u64)

Source from the content-addressed store, hash-verified

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)
448 }
449
450 #[cfg(test)]
451 pub fn transactions<'a, D>(self, de: &'a D) -> impl Iterator<Item = Result<Transaction<D::Record>, D::Error>> + 'a

Callers 1

Calls 1

seek_to_offsetFunction · 0.85

Tested by

no test coverage detected