Function spacetimedb_commitlog::commits_from

source ยท
pub fn commits_from(
    root: impl Into<PathBuf>,
    offset: u64
) -> Result<impl Iterator<Item = Result<Commit, Traversal>>>
Expand description

Obtain an iterator which traverses the commitlog located at the root directory starting from offset and yielding Commits.

Starts the traversal without the upfront I/O imposed by Commitlog::open. See Commitlog::commits_from for more information.