get_parent#

barecat.core.paths.get_parent(path)[source]#

Get the parent directory of a path. Returns sentinel for root.