Function std::io::fs::rmdir_recursive[src]

pub fn rmdir_recursive(path: &Path) -> IoResult<()>

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

Error

This function will return an Err value if an error happens. See file::unlink and fs::readdir for possible error conditions.