Function jj_lib::file_util::remove_dir_contents

source ยท
pub fn remove_dir_contents(dirname: &Path) -> Result<(), PathError>
Expand description

Removes all files in the directory, but not the directory itself.

The directory must exist, and there should be no sub directories.