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