Skip to main content

remove_if_empty

Function remove_if_empty 

Source
pub fn remove_if_empty(path: &Path) -> Result<()>
Expand description

Remove an empty directory.

ยงErrors

Returns a contextual error when the directory cannot be removed.