pub fn delete_contents_of_path(path: impl AsRef<Path>)
Expand description
Delete the files and subdirectories in a directory. This is useful if the process does not have permission to delete the top level directory it might be able to delete the contents of that directory.