faster hashing algorithm

This commit is contained in:
sreedev
2022-12-30 00:25:07 -05:00
parent 64e122b6ce
commit 2cfb298468
5 changed files with 20 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ pub fn print(duplicates: Vec<File>) {
group.into_iter().for_each(|file| {
println!(
"| {0: <16} | {1: <35} | {2: <16} | {3: <32} |",
&file.hash[0..16].red(),
file.hash.red(),
format_path(&file.path).yellow(),
file_size(&file.path).blue(),
modified_time(&file.path).blue()