Fix compiliation issue
All checks were successful
Rust / build (push) Successful in 1m13s

This commit is contained in:
Joshua Coles 2024-04-25 14:09:30 +01:00
parent 261baa6b5b
commit 9985485e83

View File

@ -95,7 +95,7 @@ async fn find_updated(db: &sqlx::PgPool, files: ReadDir) -> Vec<UpdatedFile> {
let new_hashes = hash_files(files); let new_hashes = hash_files(files);
new_hashes.filter_map(|(date, path, new_hash)| { new_hashes.filter_map(|(date, path, new_hash)| {
tracing::debug!("Considering file for updates {path} (read as date: {date})"); tracing::debug!("Considering file for updates {path:?} (read as date: {date})");
if let Some(existing_hash) = date_hashes.get(&date) { if let Some(existing_hash) = date_hashes.get(&date) {
if new_hash == *existing_hash { if new_hash == *existing_hash {
tracing::debug!("Found and matched to to existing hash"); tracing::debug!("Found and matched to to existing hash");