Additional cleanup and warning fixing

This commit is contained in:
Cameron
2026-01-14 15:21:44 -05:00
parent 02ca60a5d0
commit e31d5716b6
5 changed files with 8 additions and 21 deletions

View File

@@ -35,16 +35,19 @@ pub fn is_media_file(path: &Path) -> bool {
}
/// Check if a DirEntry is an image file (for walkdir usage)
#[allow(dead_code)]
pub fn direntry_is_image(entry: &DirEntry) -> bool {
is_image_file(entry.path())
}
/// Check if a DirEntry is a video file (for walkdir usage)
#[allow(dead_code)]
pub fn direntry_is_video(entry: &DirEntry) -> bool {
is_video_file(entry.path())
}
/// Check if a DirEntry is a media file (for walkdir usage)
#[allow(dead_code)]
pub fn direntry_is_media(entry: &DirEntry) -> bool {
is_media_file(entry.path())
}