Skip to main content

is_empty_dir

Function is_empty_dir 

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

Check if a directory exists and is empty.