Skip to content

Conversation

@alexcrichton
Copy link
Member

If the filename for a path is None then we know that the creation of the
parent directory created the whole path so there's no need to retry the call to
create_dir.

Closes #22737

If the filename for a path is `None` then we know that the creation of the
parent directory created the whole path so there's no need to retry the call to
`create_dir`.

Closes rust-lang#22737
@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@aturon
Copy link
Contributor

aturon commented Feb 24, 2015

@bors: r+ 79bf783

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 25, 2015
 If the filename for a path is `None` then we know that the creation of the
parent directory created the whole path so there's no need to retry the call to
`create_dir`.

Closes rust-lang#22737
@bors
Copy link
Collaborator

bors commented Feb 25, 2015

⌛ Testing commit 79bf783 with merge 4b0356e...

@bors
Copy link
Collaborator

bors commented Feb 25, 2015

⌛ Testing commit 79bf783 with merge 6bc4d32...

@bors
Copy link
Collaborator

bors commented Feb 25, 2015

💔 Test failed - auto-linux-64-x-android-t

@bors bors merged commit 79bf783 into rust-lang:master Feb 25, 2015
@alexcrichton alexcrichton deleted the issue-22737 branch March 27, 2015 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fs::create_dir_all fails for path/

4 participants