writefile
writefile
writes data to a file at the specified path. If the file already exists, its contents will be overwritten.
This is one of the primary ways to persist string data within the executor's file sandbox.
Parameters
Parameter | Description |
---|---|
path |
The file path to write to. |
data |
The string data to write into the file. |