Skip to main content

get_renamed_paths

Function get_renamed_paths 

Source
pub fn get_renamed_paths(
    repo_root: &Path,
    diff_range: Option<&str>,
) -> Result<FxHashSet<PathBuf>>
Expand description

Rename source paths, canonicalized. These no longer exist on disk and cannot be fragmented, so the pipeline excludes them from the changed set. The rename destinations need no special handling: they exist on HEAD and reach the universe through the ordinary changed-file path.