Data & Utilities

Data

Path Utilities

Utilities for handling files, paths, etc.

explore_dir(path: pathlib.Path) → digiarch.internals.FileData

Finds files and empty directories in the given path, and collects them into a list of FileInfo objects.

Parameters:path (str) – The path in which to find files.
Returns:empty_subs – A list of empty subdirectory paths, if any such were found
Return type:List[str]