Skip to main content

distinct_paths

Function distinct_paths 

Source
pub fn distinct_paths<'a>(
    paths: impl IntoIterator<Item = &'a Path>,
) -> Vec<PathBuf>
Expand description

Collapse worktree paths to the distinct places involved, so a message about three branches held by one worktree suggests freeing it once, not three times.