Function fsutils::rm_r [−][src]
pub fn rm_r(path: &str) -> bool
Removes a directory recursively and returns a boolean based on success or failure.
You should use this carefully.
Usage:
fsutils::mkdir("testdir"); fsutils::create_file("testdir/testfile"); assert_eq!(fsutils::rm_r("testdir"), true);