Skip to main content

Module submodules

Module submodules 

Source
Expand description

Submodule traversal + parallel evaluation with deterministic output order.

Mirrors the zsh recursion (gitCoreLib.sh isEverythingCheckedIngit submodule foreach): each repo’s submodules are checked before the repo itself, so the emit order is post-order DFS (children first, superproject last), siblings in submodule-config order. Checks run in parallel for speed, but results are buffered into fixed slots so output never depends on which thread finishes first.

Structs§

Entry
One evaluated repo (or submodule).

Functions§

evaluate_tree
Evaluate root and all (recursive) submodules. Checks run in parallel; the returned Vec is in the fixed post-order DFS order.
repo_paths
All repos to check rooted at root, in post-order (submodules before parent, root last). Public: repos rooted at root in post-order DFS (submodules before parent, root last). Reused by stmb to walk the same tree.