xshell
pub fn rm_rf(path: impl AsRef<Path>) -> Result<()>
Removes the given path and all of its contents (if it is a directory).
path
Does nothing and returns Ok(()) if path does not exist.
Ok(())