Skip to main content

rec_remove

Function rec_remove 

Source
pub fn rec_remove(path: impl AsRef<Path>) -> Result<()>
Available on crate feature fs only.
Expand description

Recursively remove path and all of its contents.

No-op if the path does not exist. Error if the path is a file or a link. Does not follow symlinks.