makefolder Synchronous
Create a folder for organizing workspace files. Existing folders are kept, and missing parent folders are created along with the requested folder. Use separate directories for related settings, cached images, and exports so later listing or cleanup can target one collection.
Luau
makefolder(path: string) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
path | string | Workspace-relative folder path to create. |
Returns
()This function returns no values.
Usage notes
A file occupying any required folder path prevents creation.
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("preferences/themes")
print(isfolder("preferences/themes")) -- true