fn dedupe_hardlinks(entries: Vec<(PathBuf, (u64, u64))>) -> Vec<PathBuf>
Keeps the first path of every file, in the order given.