Merge pull request #111 from dfrankland/expose-fs-create_dir_all

Expose fs::create_dir_all
staging
Florian Gilcher 5 years ago committed by GitHub
commit a14b11c032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
## [Unreleased] ## [Unreleased]
- Expose `fs::create_dir_all`
# [0.99.4] - 2019-08-21 # [0.99.4] - 2019-08-21
## Changes ## Changes

@ -1,8 +1,8 @@
use std::fs; use std::fs;
use std::path::{Path, PathBuf}; use std::path::Path;
use crate::task::blocking;
use crate::io; use crate::io;
use crate::task::blocking;
/// Creates a new, empty directory and all of its parents if they are missing. /// Creates a new, empty directory and all of its parents if they are missing.
/// ///

@ -32,6 +32,7 @@ pub use std::fs::{FileType, Metadata, Permissions};
pub use canonicalize::canonicalize; pub use canonicalize::canonicalize;
pub use copy::copy; pub use copy::copy;
pub use create_dir::create_dir; pub use create_dir::create_dir;
pub use create_dir_all::create_dir_all;
pub use hard_link::hard_link; pub use hard_link::hard_link;
pub use metadata::metadata; pub use metadata::metadata;
pub use read::read; pub use read::read;
@ -49,6 +50,7 @@ pub use write::write;
mod canonicalize; mod canonicalize;
mod copy; mod copy;
mod create_dir; mod create_dir;
mod create_dir_all;
mod dir_builder; mod dir_builder;
mod dir_entry; mod dir_entry;
mod file; mod file;

Loading…
Cancel
Save