Function xshell::rm_rf[][src]

pub fn rm_rf(path: impl AsRef<Path>) -> Result<()>

Removes the given path and all of its contents (if it is a directory).

Does nothing and returns Ok(()) if path does not exist.