🔌
IO
Provides input and output facilities related to files.
Appends content to the specified file.
io.append('./log.txt', 'message from ghost')
Reads and returns the contents of the specified file as a string.
io.read('./log.txt')
Writes content to the specified file. This method completely overrides all content.
io.write(content, './log.txt')
Last modified 6mo ago