Skip to main content

count_lines_changed

Function count_lines_changed 

Source
pub fn count_lines_changed(
    patch: &[StructuredPatchHunk],
    new_file_content: Option<&str>,
) -> (usize, usize)
Expand description

Count lines added and removed from a structured patch.