Function remove_dir_all::remove_dir_all [] [src]

pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> Result<()>

Reliably removes directory and all of it's children.

extern crate remove_dir_all;

use remove_dir_all::*;

fn main() {
    remove_dir_all("./temp/").unwrap();
}