Skip to main content

changed_node_ids

Function changed_node_ids 

Source
pub fn changed_node_ids(
    graph: &ArborGraph,
    changed_files: &[String],
    project_root: &Path,
) -> Vec<NodeId> ⓘ
Expand description

Collect node IDs whose files appear in the changed-files list.

This is file granularity: every symbol in a touched file is treated as changed. For a one-line edit in a 60-symbol file that overstates the blast radius by roughly 60x. Prefer changed_node_ids_for_ranges whenever the caller has the diff hunks — which any PR-driven integration does.