Skip to main content

removed_lines

Function removed_lines 

Source
pub fn removed_lines(before: &str, after: &str) -> Vec<(u32, Vec<String>)>
Expand description

PD.7b: text the diff removed, grouped by the post-image line the removal sits above.

Taken from the PRE-image side (slot 0), which is the only place the removed text still exists — the post-image is the file, and the file no longer has it.