Syntax
makefolder(path: string)Arguments
| Name | Type | Description |
|---|---|---|
path | string | Directory path resolved inside the workspace after separator normalization and workspace-boundary checks. Empty, invalid, or outside-workspace paths error before creation is attempted. |
Description
Creates a directory inside the workspace with recursive folder creation, including missing parent directories.
Call it with 1 parameter(s): path. The argument table explains which values are required and which ones only refine the behavior.
It does not return data. Treat the call as an action and handle errors around the call site when needed.
Example
Create a workspace directory and any missing parent directories.
local path = "examples/generated/nested"
makefolder(path)
print(isfolder(path))