Module luarocks.loader

(no description)

Functions

add_context (name, version) Process the dependencies of a package to determine its dependency chain for loading modules.
luarocks_loader (module) Package loader for LuaRocks support.


Functions

add_context (name, version)
Process the dependencies of a package to determine its dependency chain for loading modules.

Parameters:

  • name:
  • version:
luarocks_loader (module)
Package loader for LuaRocks support. A module is searched in installed rocks that match the current LuaRocks context. If module is not part of the context, or if a context has not yet been set, the module in the package with the highest version is used.

Parameters:

  • module: string: The module name, like in plain require().

Returns:

    table: The module table (typically), like in plain require(). See require() in the Lua reference manual for details.
generated by LDoc 0.5