pub fn extract_changed_lines(patch: &str) -> Vec<u32>Expand description
Extract added line numbers from a unified diff patch.
Parses @@ -a,b +c,d @@ hunk headers to track the new-file line
position, then collects lines prefixed with + (additions).