directories#

Common directory utilities.

Functions#

tokenized_startswith(test_iterable, startswith_iterable)

get_all_directories(→ list[tuple[str, Ellipsis]])

get_leaf_directories(→ Sequence[str])

explode_directories(→ set[str])

tokenized_startswith(test_iterable, startswith_iterable)#
get_all_directories(files: Iterable[str]) list[tuple[str, Ellipsis]]#
get_leaf_directories(files: Iterable[str]) Sequence[str]#
explode_directories(child_directories: Iterable[tuple[str, Ellipsis]]) set[str]#