Additional cleanup and warning fixing
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user