pub fn format_diff_compact(diff: &Diff<'_, '_>) -> String
Format the diff in compact mode (path-based, no tree structure).