fix existing file hashes always being calculated
This commit is contained in:
parent
76896a22f9
commit
f0a63a241a
@ -227,6 +227,7 @@ async fn update_dir(
|
|||||||
"Checked".bright_blue(),
|
"Checked".bright_blue(),
|
||||||
misc::cute_path(&file_path)
|
misc::cute_path(&file_path)
|
||||||
));
|
));
|
||||||
|
hashes.insert(file_name.to_owned(), file.hash.to_lowercase());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
files_to_download.push(file.clone());
|
files_to_download.push(file.clone());
|
||||||
|
Loading…
Reference in New Issue
Block a user