rxn.utilities.files.ensure_directory_exists_and_is_empty

rxn.utilities.files.ensure_directory_exists_and_is_empty(directory)[source]

Create a directory if it does not exist already, and raise if not empty.

Parameters

directory (Path) –

Return type

None