LifeLua 30-05-2025
Documentation for LifeLua
|
Lua IO library extension. More...
Functions | |
number | io.crc32 (string string) |
string | io.sha1 (string string) |
string | io.md5 (string string) |
nil or boolean | io.workpath (string path) |
boolean | io.exists (string path) |
nil | io.newfolder (string path) |
nil | io.delete (string path) |
table | io.readsfo (string path) |
nil | io.editsfo (string path) |
table | io.list (string path) |
string | io.filestrip (string path) |
string | io.pathstrip (string path) |
number | io.freespace (string partition) |
number | io.totalspace (string partition) |
number io.crc32 | ( | string | string | ) |
Gets the CRC32 hash of a string
nil io.delete | ( | string | path | ) |
Deletes a file or a folder
nil io.editsfo | ( | string | path | ) |
Edits a parameter in a .SFO file
boolean io.exists | ( | string | path | ) |
Checks if a file or folder exists or not
string io.filestrip | ( | string | path | ) |
Strips the last file/directory from a path
number io.freespace | ( | string | partition | ) |
Gets the free space of a partition
table io.list | ( | string | path | ) |
Lists a directory
string io.md5 | ( | string | string | ) |
Gets the MD5 hash of a string
nil io.newfolder | ( | string | path | ) |
Creates a new folder
string io.pathstrip | ( | string | path | ) |
Strips the files/directories from a path besides the last one
table io.readsfo | ( | string | path | ) |
Reads a .SFO file
string io.sha1 | ( | string | string | ) |
Gets the SHA1 hash of a string
number io.totalspace | ( | string | partition | ) |
Gets the size of a partition
nil or boolean io.workpath | ( | string | path | ) |
Gets or sets the working path
path | If defined, the work path will be set to the defined path |