pub fn changed_lines(old: &str, new: &str) -> usize
The number of changed (inserted or deleted) lines between old and new — a cheap proxy for edit size, useful for budgeting and for choosing whole-file vs diff transport.
old
new