pub fn count_changes_with_algorithm(
old_content: &str,
new_content: &str,
algorithm: Algorithm,
use_git_histogram: bool,
) -> (usize, usize)Expand description
Count insertions and deletions using the given line-diff algorithm.
Uses the same compacted line alignment as unified patches and crate::diff::line_change_counts.