Skip to main content

dedupe

Function dedupe 

Source
fn dedupe(
    cands: Vec<Candidate>,
    canonical: &dyn Fn(&Path) -> PathBuf,
) -> Vec<Candidate>
Expand description

Drop repeats: Windows paths compare case-insensitively, and the same file can be reached twice (/bin/bash and /usr/bin/bash on a merged-usr system).