Module luarocks.fetch.cvs
Fetch back-end for retrieving sources from CVS.
Functions
get_sources (rockspec, extract, dest_dir) | Download sources for building a rock, using CVS. |
Functions
- get_sources (rockspec, extract, dest_dir)
-
Download sources for building a rock, using CVS.
Parameters:
rockspec
: table: The rockspec tableextract
: boolean: Unused in this module (required for API purposes.)dest_dir
: string or nil: If set, will extract to the given directory.
Returns:
-
(string, string) or (nil, string): The absolute pathname of
the fetched source tarball and the temporary directory created to
store it; or nil and an error message.