Function commits

Source
pub fn commits(
    root: impl Into<PathBuf>,
) -> Result<impl Iterator<Item = Result<Commit, Traversal>>>
Expand description

Obtain an iterator which traverses the commitlog located at the root directory from the start, yielding Commits.

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