get_ancestors#

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

Yield all ancestor paths from root (‘’) down to and including path itself.