pub fn create_empty_dir<P: AsRef<Path>>(path: P) -> Result<()>
Create an empty directory or clear the existing directory.