Function common::sort_and_group_duplicates

source ·
pub fn sort_and_group_duplicates(
    list_hashes: Vec<(Digest, &Path)>
) -> Arc<Mutex<HashMap<BigUint, Vec<PathBuf>>>>
Expand description

This function helps in Sorting the vec of Hash digest and filePath Once the sort is finished it will group Duplicates with the help of HashMap and Parallel Iterator