Function delete_dir_contents

Source
pub fn delete_dir_contents(dir_path: &Path)
Expand description

Recursively deletes all files and directories within a directory.

ยงArguments

  • dir_path - A Path reference to the directory to delete the contents of.