Module gix_traverse::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 ancestors traversal, without the need to keep track of graph-state.
  • Topological commit traversal, similar to git log --topo-order, which keeps track of graph state.

Structs§

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

Enums§

  • Specify how to handle commit parents during traversal.

Type Aliases§

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