pub fn common_get_metadata_dir( entry_data: &DirEntry, warnings: &mut Vec<String>, current_folder: &Path ) -> Option<Metadata>