hashing restored

This commit is contained in:
sreedevk
2025-07-12 21:04:43 +00:00
parent 9d67a91423
commit 4aa536e89b
3 changed files with 20 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ impl Processor {
if group.len() > 1 {
group.into_par_iter().for_each(|file| {
hw_store
.entry(file.hash.clone().unwrap_or_default())
.entry(file.hash().expect("hashing file failed."))
.and_modify(|fileset| fileset.push(file.clone()))
.or_insert_with(|| vec![file]);
});