Skip to main content

make_dir_absent_or_empty

Function make_dir_absent_or_empty 

Source
pub fn make_dir_absent_or_empty(path: impl AsRef<Path>) -> Result<()>
Available on crate feature fs only.
Expand description

Ensure path either does not exist, or is an empty directory.