delfolder
Deletes a folder and everything inside it.
Syntax
delfolder(path: string) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
path | string | A path inside the Yuari workspace. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
delfolder is part of the File system library. File functions are sandboxed to the executor workspace; paths outside it are rejected.
The operation is performed immediately using the arguments supplied at the call site.
Example
delfolder("configs")
Notes
- Paths are sandboxed to the executor workspace.