makefolder Synchronous
Create a workspace directory for related files. Kawaii creates missing parents as well, so one call can prepare a nested destination.
Luau
makefolder(path: string) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
path | string | Workspace-relative directory path. |
Returns
()No values.
Usage notes
Calling it for a directory that already exists keeps that directory.
Differences from Volt
Volt documents access through explicitly created workspace symlinks. Kawaii rejects symlinks in workspace paths; all workspace operations remain subject to its path containment checks.
Example
Luau
makefolder("example-settings/backups")
writefile("example-settings/backups/first.txt", "Backup ready")