Skip to main content

compute_god_nodes

Function compute_god_nodes 

Source
pub fn compute_god_nodes(edges: &[EdgeInfo], limit: usize) -> Vec<GodNode>
Expand description

Ranks files by total dependency degree (fan-in + fan-out) and returns the top limit. Deterministic: ties broken by path so the output is stable across rebuilds.