API Reference

FileSystem

Reading and writing files inside the executor workspace directory.

Available Functions

FunctionDescription
readfileRead an existing file from the 'workspace' directory.
writefileWrite a file to the 'workspace' directory.
appendfileAppend an already existing file's contents from workspace.
listfilesReturns an array with the list of files in the specified directory.
isfileChecks if specified 'path' is a file.
isfolderChecks if specified 'path' is a folder.
makefolderCreates a folder in the specified 'path'.
delfileDeletes the file from the specified 'path'.
delfolderDeletes the folder from the specified 'path'.
loadfileLoadstring's the file specified and returning its chunk
dofileAttemps to execute contents from 'file'.