Obtain an iterator which traverses the commitlog located at the `root` directory from the start, yielding [`StoredCommit`]s. Starts the traversal without the upfront I/O imposed by [`Commitlog::open`]. See [`Commitlog::commits`] for more information.
(root: CommitLogDir)
| 617 | /// Starts the traversal without the upfront I/O imposed by [`Commitlog::open`]. |
| 618 | /// See [`Commitlog::commits`] for more information. |
| 619 | pub fn commits(root: CommitLogDir) -> io::Result<impl Iterator<Item = Result<StoredCommit, error::Traversal>>> { |
| 620 | commits_from(root, 0) |
| 621 | } |
| 622 | |
| 623 | /// Obtain an iterator which traverses the commitlog located at the `root` |
| 624 | /// directory starting from `offset` and yielding [`StoredCommit`]s. |
searching dependent graphs…