pub fn is_jpeg(file: DirEntry) -> Option<DirEntry>
Utility function for filter_map which returns the file handle if the lowercase extension corresponds to either “jpeg” or “jpg”
filter_map