Function spacetimedb_commitlog::fold_transactions
source · pub fn fold_transactions<D>(
root: impl Into<PathBuf>,
de: D,
) -> Result<(), D::Error>Expand description
Traverse the commitlog located at the root directory from the start and
“fold” its transactions into the provided Decoder.
Starts the traversal without the upfront I/O imposed by Commitlog::open.
See Commitlog::fold_transactions for more information.