File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -572,6 +572,44 @@ Subroutine
572
572
573
573
---
574
574
575
+ ## ` make_directory_all ` - Creates an empty directory with all its parent directories
576
+
577
+ ### Status
578
+
579
+ Experimental
580
+
581
+ ### Description
582
+
583
+ It creates an empty directory with default permissions.
584
+ It also creates all the parent directories required in doing so.
585
+ It is designed to work across multiple platforms. On Windows, paths with both forward ` / ` and backward ` \ ` slashes are accepted.
586
+
587
+ ### Syntax
588
+
589
+ ` call [[stdlib_system(module):make_directory_all(subroutine)]] (path [,err]) `
590
+
591
+ ### Class
592
+
593
+ Subroutine
594
+
595
+ ### Arguments
596
+
597
+ ` path ` : Shall be a character string containing the path of the directory to create. It is an ` intent(in) ` argument.
598
+
599
+ ` err ` (optional): Shall be of type ` state_type ` , for error handling. It is an ` optional, intent(out) ` argument.
600
+
601
+ ### Return values
602
+
603
+ ` err ` is an optional state return flag. On error if not requested, a ` FS_ERROR ` will trigger an error stop.
604
+
605
+ ### Example
606
+
607
+ ``` fortran
608
+ {!example/system/example_make_directory.f90!}
609
+ ```
610
+
611
+ ---
612
+
575
613
## ` remove_directory ` - Removes an empty directory
576
614
577
615
### Status
You can’t perform that action at this time.
0 commit comments