pub fn compact_diff( old: &str, new: &str, path: &str, max_lines: usize, ) -> String
Generate a compact unified diff between old and new content. Truncates to max_lines lines if the diff is too long.
max_lines