Function common::sort_and_group_duplicates
source ยท pub fn sort_and_group_duplicates(
list_hashes: &[(BigUint, &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