Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a14b11c

Browse files
authored
Merge pull request #111 from dfrankland/expose-fs-create_dir_all
Expose fs::create_dir_all
2 parents 2368336 + d47f7d3 commit a14b11c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

‎CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
77

88
## [Unreleased]
99

10+
- Expose `fs::create_dir_all`
11+
1012
# [0.99.4] - 2019年08月21日
1113

1214
## Changes

‎src/fs/create_dir_all.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::fs;
2-
use std::path::{Path,PathBuf};
2+
use std::path::Path;
33

4-
use crate::task::blocking;
54
use crate::io;
5+
use crate::task::blocking;
66

77
/// Creates a new, empty directory and all of its parents if they are missing.
88
///

‎src/fs/mod.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub use std::fs::{FileType, Metadata, Permissions};
3232
pub use canonicalize::canonicalize;
3333
pub use copy::copy;
3434
pub use create_dir::create_dir;
35+
pub use create_dir_all::create_dir_all;
3536
pub use hard_link::hard_link;
3637
pub use metadata::metadata;
3738
pub use read::read;
@@ -49,6 +50,7 @@ pub use write::write;
4950
mod canonicalize;
5051
mod copy;
5152
mod create_dir;
53+
mod create_dir_all;
5254
mod dir_builder;
5355
mod dir_entry;
5456
mod file;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /