Module path_util

Source
Expand description

Utility functions for manipulating paths.

Functions§

get_parent_of_component_in_path
If the path contains a component that equals the component argument, returns its parent. Ignores paths that contain __MACOSX in the parent.
get_parent_of_named
Returns the path’s parent path if the path’s name equals the name argument. Ignores paths that contain __MACOSX in the parent.