Skip to main content

compute_routing

Function compute_routing 

Source
pub fn compute_routing(
    root: &Path,
    config: &ResolvedConfig,
    changed_files: &FxHashSet<PathBuf>,
) -> RoutingFacts
Expand description

Compute the routing section for the changed files. Best-effort: returns an empty RoutingFacts when churn is unavailable (non-git repo, shallow clone with no history). CODEOWNERS is consulted when present.