Function psort::is_jpeg

source ·
pub fn is_jpeg(file: DirEntry) -> Option<DirEntry>
Expand description

Utility function for filter_map which returns the file handle if the lowercase extension corresponds to either “jpeg” or “jpg”