Module commit

Source
Expand description

Provide multiple traversal implementations with different performance envelopes.

Use Simple for fast walks that maintain minimal state, or Topo for a more elaborate traversal.

Modules§

simple
Simple ancestors traversal, without the need to keep track of graph-state.
topo
Topological commit traversal, similar to git log --topo-order, which keeps track of graph state.

Structs§

Info
Information about a commit that we obtained naturally as part of the iteration.
Simple
A fast iterator over the ancestors of one or more starting commits.
Topo
A commit walker that walks in topographical order, like git rev-list --topo-order or --date-order depending on the chosen topo::Sorting.

Enums§

Parents
Specify how to handle commit parents during traversal.

Type Aliases§

ParentIds
The collection of parent ids we saw as part of the iteration.