Function std::fs::remove_dir_allUnstable [-] [+] [src]

pub fn remove_dir_all<P: AsPath + ?Sized>(path: &P) -> Result<()>

Removes a directory at this path, after removing all its contents. Use carefully!

This function does not follow soft links and it will simply remove the soft link itself.

Errors

See file::remove_file and fs::remove_dir