Skip to main content

find_dependents

Function find_dependents 

Source
pub fn find_dependents(
    imports: &HashMap<String, HashSet<String>>,
    target: &str,
) -> Vec<String>
Expand description

Find all nodes that (transitively) depend on target via BFS on the reverse graph. Returns a sorted list excluding the target itself.