chickadee » git » tree-fold

tree-fold kons knil treeprocedure

Folds over each path and accompanying tree-entry in the given tree in unspecified order.

Note that kons should be a function of three arguments; the path to the current tree-entry (a string, relative to the repository's working directory), the current tree-entry, and the current state of the fold.