Module path

Module path 

Source

Modules§

constants
Constants for working with Luau module paths.

Structs§

LuauModulePath
A resolved module path for Luau, containing both:

Enums§

LuauFilePath
A file path for Luau, which has been resolved to either a valid file or directory.

Functions§

append_extension
Appends the given extension to the path.
clean_path
Cleans a path.
clean_path_and_make_absolute
Makes a path absolute, if it is relative, and then cleans it.
get_current_dir
Gets the current working directory as an absolute path.
get_current_exe
Gets the path to the current executable as an absolute path.
relative_path_normalize
Normalizes the given relative path.
relative_path_parent
Pops the relative path up to the parent directory, pushing “parent dir” (..) components to the front of the path when it no longer has any normal components.