pub fn get_parent_of_named(path: &Path, name: &str) -> Option<PathBuf>
Returns the path’s parent path if the path’s name equals the name argument. Ignores paths that contain __MACOSX in the parent.