Skip to main content

evaluate_tree

Function evaluate_tree 

Source
pub fn evaluate_tree<G: Git + Sync>(
    git: &G,
    root: &Path,
    base_override: Option<&str>,
    fetch: bool,
) -> Vec<Entry>
Expand description

Evaluate root and all (recursive) submodules. Checks run in parallel; the returned Vec is in the fixed post-order DFS order.

base_override (the CLI --base-branch) applies only to the root; each submodule resolves its own base (gkit.baseBranch, then remote origin/main/origin/master). Like the zsh, submodules are fetched before checking (when fetch), the root is not.