pub fn find_cut_modules(
graph: &ModuleGraph,
chains: &[Vec<ModuleId>],
entry: ModuleId,
target: &ChainTarget,
top_n: i32,
include_dynamic: bool,
) -> Vec<CutModule>Expand description
Find modules that appear in all chains from entry to a package.
Removing any one of these severs every import path to the target.
Sorted by exclusive weight descending (highest-impact first),
truncated to top_n.