Skip to main content

ensure_empty_directory

Function ensure_empty_directory 

Source
pub fn ensure_empty_directory(directory: &Path) -> Result<()>
Expand description

Validates that a directory either does not exist (and creates it) or exists and is empty.