Cargo fmt

This commit is contained in:
Cameron
2025-12-18 21:20:31 -05:00
parent aaf9cc64be
commit b4c5a38c9d
5 changed files with 32 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
use crate::cleanup::database_updater::DatabaseUpdater;
use crate::cleanup::types::{CleanupConfig, CleanupStats};
use anyhow::Result;
use log::{error, info, warn};
use log::{error, warn};
use std::path::PathBuf;
// All supported image extensions to try
@@ -95,7 +95,10 @@ pub fn resolve_missing_files(
/// Find a file with an alternative extension
/// Returns the relative path with the new extension if found
fn find_file_with_alternative_extension(base_path: &PathBuf, relative_path: &str) -> Option<String> {
fn find_file_with_alternative_extension(
base_path: &PathBuf,
relative_path: &str,
) -> Option<String> {
let full_path = base_path.join(relative_path);
// Get the parent directory and file stem (name without extension)