Apk.lua
Functions
repository()
Generates and returns a table of all of the packages with available and loaded version numbers.
get_all()
Returns an array of all of the packages in the repository with version numbers.
get_loaded()
Returns an array of all of the loaded packages with version numbers and descriptions.
get_available()
Returns an array of all of the available (not loaded) packages with version numbers.
delete(package)
Unloads a package.
Input:
- package - string name of package
install(package)
Loads a package from the repository.
Input:
- package - string name of package
is_installed(package)
Test if a package is loaded.
Input:
- package - string name of package