pub fn ensure_empty_directory(directory: &Path) -> Result<()>
Validates that a directory either does not exist (and creates it) or exists and is empty.