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

Method fold_transactions_from

crates/commitlog/src/commitlog.rs:340–346  ·  view source on GitHub ↗
(&self, offset: u64, decoder: D)

Source from the content-addressed store, hash-verified

338 }
339
340 pub fn fold_transactions_from<D>(&self, offset: u64, decoder: D) -> Result<(), D::Error>
341 where
342 D: Decoder,
343 D::Error: From<error::Traversal>,
344 {
345 fold_transactions_internal(self.commits_from(offset).with_log_format_version(), decoder, offset..)
346 }
347
348 pub fn fold_transaction_range<D>(&self, range: impl RangeBounds<u64>, decoder: D) -> Result<(), D::Error>
349 where

Callers 1

Calls 3

commits_fromMethod · 0.45

Tested by 1