Function remove_all

Source
pub fn remove_all<P>(path: P) -> Result<(), FileError>
where P: AsRef<Path>,
Expand description

Removes whatever is at the path, whether it is a directory or file. The _all suffix hopefully makes the function sound at least slightly dangerous.