appendfile
Appends bytes to a workspace file.
Paths must remain inside the workspace. Writes to executable/script-launching and other blocked extensions are refused.
appendfile(path: string, contents: string): ()Parameters
| Parameter | Type | Description |
|---|---|---|
path | string | Path relative to the Acedia workspace. |
contents | string | Bytes to write. |
Errors: An invalid path or failed write raises an error.
Aliases: appendfileasync.
