From 89c427172a25bdb7802d142c03f3504a53a304fc Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 23 Sep 2024 14:53:44 -0400 Subject: Support creating parent directories as needed (mkdir -p) and also set a better default permission for new dirs --- docs/paths.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') 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:** -- cgit v1.2.3