fix existing file hashes always being calculated

This commit is contained in:
mxve 2023-11-06 01:56:26 +01:00
parent 76896a22f9
commit f0a63a241a

View File

@ -227,6 +227,7 @@ async fn update_dir(
"Checked".bright_blue(),
misc::cute_path(&file_path)
));
hashes.insert(file_name.to_owned(), file.hash.to_lowercase());
}
} else {
files_to_download.push(file.clone());