Path

deker_tools.path.is_empty(path)

Check if directory is empty.

Parameters

path (Union[Path, str]) – Path to check

Return type

bool

deker_tools.path.is_path_valid(path)

Check if directory path is valid.

Parameters

path (Union[Path, str]) – path to a directory

Return type

None