Skip to content

Directories

Functions

Return Type Name Description
string[] dirs.list(string path, string extension = '') A list of file names from a directory
string dirs.get(Directory index) Get a path by Directory

Examples

-- Getting the path of the DLC directory
local dlc_path = dirs.get(Directory.DLC)
local files = dirs.list(Directory.GAME)