Module luarocks.remove

Module implementing the LuaRocks "remove" command. Uninstalls rocks.

Functions

run (..., name, version) Driver function for the "install" command.


Functions

run (..., name, version)
Driver function for the "install" command.

Parameters

  • ...:
  • name: string: name of a rock. If a version is given, refer to a specific version; otherwise, try to remove all versions.
  • version: string: When passing a package name, a version number may also be given.

Return value:

boolean or (nil, string): True if removal was successful, nil and an error message otherwise.

Valid XHTML 1.0!