We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::fs::create_dir_all
1 parent 958c39d commit d1932ceCopy full SHA for d1932ce
library/std/src/fs.rs
@@ -2803,6 +2803,9 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
2803
/// Recursively create a directory and all of its parent components if they
2804
/// are missing.
2805
///
2806
+/// This function returns an error if any of the parent components are not a directory and already
2807
+/// exist.
2808
+///
2809
/// If the empty path is passed to this function, it always succeeds without
2810
/// creating any directories.
2811
0 commit comments