Refactor file type checking for better consistency

Fix tests
This commit is contained in:
Cameron
2025-12-23 22:30:53 -05:00
parent 6dbac6f22f
commit 636701a69e
7 changed files with 170 additions and 132 deletions

View File

@@ -7,6 +7,7 @@ pub mod data;
pub mod database;
pub mod error;
pub mod exif;
pub mod file_types;
pub mod files;
pub mod geo;
pub mod memories;
@@ -36,7 +37,6 @@ pub fn update_media_counts(_media_dir: &Path) {
// Stub - implemented in main.rs
}
pub fn is_video(_entry: &DirEntry) -> bool {
// Stub - implemented in main.rs
false
pub fn is_video(entry: &DirEntry) -> bool {
file_types::direntry_is_video(entry)
}