Skip to main content

get_rename_pairs

Function get_rename_pairs 

Source
pub fn get_rename_pairs(
    repo_root: &Path,
    diff_range: Option<&str>,
) -> Result<Vec<(String, String)>>
Expand description

Rename pairs as repo-relative display paths (old -> new), for the output header. Unlike get_renamed_paths this preserves the pairing and does not canonicalize (the old path no longer exists on disk).