#utility #filesystem #windows #remove_dir

remove_dir_all

A safe, reliable implementation of remove_dir_all for Windows

9 unstable releases

0.6.1 Oct 16, 2020
0.5.3 Jun 12, 2020
0.5.2 Jun 13, 2019
0.5.1 Apr 19, 2018
0.1.0 Mar 29, 2017

#11 in Filesystem

Download history 145882/week @ 2020-07-07 137630/week @ 2020-07-14 164318/week @ 2020-07-21 181954/week @ 2020-07-28 176953/week @ 2020-08-04 175095/week @ 2020-08-11 164914/week @ 2020-08-18 167062/week @ 2020-08-25 159330/week @ 2020-09-01 174584/week @ 2020-09-08 167489/week @ 2020-09-15 172892/week @ 2020-09-22 185834/week @ 2020-09-29 193330/week @ 2020-10-06 196979/week @ 2020-10-13 182475/week @ 2020-10-20

743,162 downloads per month
Used in 4,841 crates (27 directly)

MIT/Apache

9KB
104 lines

remove_dir_all

Latest Version Docs License

Description

A reliable implementation of remove_dir_all for Windows. For Unix systems re-exports std::fs::remove_dir_all.

extern crate remove_dir_all;

use remove_dir_all::*;

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

Minimum Rust Version

The minimum rust version for remove_dir_all is the latest stable release, and the minimum version may be bumped through patch releases. You can pin to a specific version by setting by add = to your version (e.g. =0.6.0), or commiting a Cargo.lock file to your project.


lib.rs:

Reliably remove a directory and all of its children.

This library provides a reliable implementation of remove_dir_all for Windows. For Unix systems, it re-exports std::fs::remove_dir_all.

Dependencies

~0–310KB