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