dulwich.walk
module documentationdulwich
Class | WalkEntry | Object encapsulating a single result from a walk. |
Class | Walker | Object for performing a walk of commits in a store. |
Class | _CommitTimeQueue | Priority queue of WalkEntry objects by commit time. |
Function | _topo_reorder | Reorder an iterable of entries topologically. |
Reorder an iterable of entries topologically.
This works best assuming the entries are already in almost-topological order, e.g. in commit time order.
Parameters | entries | An iterable of WalkEntry objects. |
get_parents | Optional function for getting the parents of a commit. | |
Returns | iterator over WalkEntry objects from entries in FIFO order, except where a parent would be yielded before any of its children. |