dcsex.io
IO - extensions to lua io
Contents
Functions
_t.extract(zippath, …)
Parameters
- zippath
- file path to target zip file
- …
- varadic list of file names to extract from the zip file
Returns
- merged table
_t.joinPaths(…)
Parameters
- …
- varadic argument list of strings
Returns
- joined string using the OS directory seperator
_t.isDir(path)
Parameters
- path
- string
Returns
- True if path references a directory, false otherwise
_t.readLua(file, tblname, env)
Parameters
- file
- file path to lua file
- tblname
- (optional) specifies a specific environment key
- env
- (optional) environment to use
Returns
- resultant symbols read from file, file string
_t.readConfigs(cfgfiles, tbl)
Parameters
- cfgfiles
- a table of configuration files to read
- tbl
- the table to store the configuration into