πfiles
Example available!
Functions:
create_folder
Name
Type
Description
read
Name
Type
Description
write
Name
Type
Description
get_crc32
Name
Type
Description
Last updated
files.create_folder(path: string)
path
string
New folder path
files.read(path: string): any
path
string
Path to the file
Returns contents of the specified file.
files.write(path: string, contents: string[, is_binary: boolean]): boolean
path
string
Path to the file
contents
any
Contents the file should be set to
is_binary
boolean
Is contents a binary
Replaces contents of the specified file. Returns false on failure.
files.get_crc32(path: string): number
path
string
Path to the file
Returns the crc32 checksum of the file.
Last updated