diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-23 14:53:44 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-23 14:53:44 -0400 |
| commit | 89c427172a25bdb7802d142c03f3504a53a304fc (patch) | |
| tree | 78fe65ee8a6466649e0aa6ef7aebb31ffc1769fe /docs | |
| parent | b432fc82c78bb890eca5938c7754950f089c7abe (diff) | |
Support creating parent directories as needed (mkdir -p) and also set a
better default permission for new dirs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/paths.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/paths.md b/docs/paths.md index a4437c6f..f53cc971 100644 --- a/docs/paths.md +++ b/docs/paths.md @@ -180,11 +180,12 @@ A list of paths for the children. ### `create_directory` **Description:** -Creates a new directory at the specified path with the given permissions. +Creates a new directory at the specified path with the given permissions. If +any of the parent directories do not exist, they will be created as needed. **Usage:** ```markdown -create_directory(path: Path, permissions=0o644[32]) -> Void +create_directory(path: Path, permissions=0o755[32]) -> Void ``` **Parameters:** |
