Module luarocks.download

Module implementing the luarocks "download" command. Download a rock from the repository.

Functions

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


Functions

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

Parameters

  • ...:
  • name: string: a rock name.
  • version: string or nil: if the name of a package is given, a version may also be passed.

Return value:

boolean or (nil, string): true if successful or nil followed by an error message.

Valid XHTML 1.0!