Module luarocks.unpack
Module implementing the LuaRocks "unpack" command.
Unpack the contents of a rock.
Functions
| run (name, version, ...) | Driver function for the "unpack" command. |
Functions
- run (name, version, ...)
-
Driver function for the "unpack" command.
Parameters:
name: string: may be a rock filename, for unpacking a rock file or the name of a rock to be fetched and unpacked.version: string or nil: if the name of a package is given, a version may also be passed....:
Returns:
-
boolean or (nil, string): true if successful or nil followed
by an error message.