object
packs
Pack handling predicates.
static, context_switching_calls
Public predicates
available/1
Lists all the packs that are available for installation from the given registry.
static
available(Registry)
available(+atom)
- one
available/0
Lists all the packs that are available for installation from all defined registries.
static
available
- one
installed/4
Enumerates by backtracking all installed packs.
static
installed(Registry,Pack,Version,Pinned)
installed(?atom,?atom,?compound,?boolean)
- zero_or_more
installed/3
Enumerates by backtracking all installed packs.
static
installed(Registry,Pack,Version)
installed(?atom,?atom,?compound)
- zero_or_more
installed/0
Lists all the packs that are installed.
static
installed
- one
outdated/4
Enumerates by backtracking all installed but outdated packs (together with the current version installed and the latest version available).
static
outdated(Registry,Pack,Version,LatestVersion)
outdated(?atom,?atom,?compound,?compound)
- zero_or_more
outdated/1
Lists all the packs from the given registry that are installed but outdated.
static
outdated(+atom)
- one
outdated/0
Lists all the packs that are installed but outdated.
static
outdated
- one
orphaned/2
Lists all the packs that are installed but whose registry is no longer defined.
static
orphaned(Registry,Pack)
orphaned(?atom,?atom)
- zero_or_more
orphaned/0
Lists all the packs that are installed but whose registry is no longer defined.
static
orphaned
- one
describe/2
Describes a registered pack, including installed version if applicable.
static
describe(Registry,Pack)
describe(+atom,+atom)
- zero_or_one
describe/1
Describes a registered pack, including installed version if applicable.
static
describe(Pack)
describe(+atom)
- zero_or_one
search/1
Searches packs whose name or description includes the search term (case sensitive).
static
search(Term)
search(+atom)
- one
install/4
Installs a new pack using the specified options. Fails if the pack is unknown or already installed but not using a force(true)
option. Fails also if the pack version is unknown.
static
install(Registry,Pack,Version,Options)
install(+atom,+atom,++compound,++list(compound))
- zero_or_one
force(Boolean)
option: Force re-installation if the pack is already installed. Default isfalse
.
clean(Boolean)
option: Clean pack archive after installation. Default isfalse
.
verbose(Boolean)
option: Verbose installing steps. Default isfalse
.
checksum(Boolean)
option: Verify pack archive checksum. Default istrue
.
checksig(Boolean)
option: Verify pack archive signature. Default isfalse
.
curl(Atom)
option: Extra command-line options. Default is''
.
gpg(Atom)
option: Extra command-line options. Default is''
.
tar(Atom)
option: Extra command-line options. Default is''
.
install/3
Installs the specified version of a pack from the given registry using default options. Fails if the pack is already installed or unknown. Fails also if the pack version is unknown.
static
install(Registry,Pack,Version)
install(+atom,+atom,?compound)
- zero_or_one
install/2
Installs the latest version of a pack from the given registry using default options. Fails if the pack is already installed or unknown.
static
install(Registry,Pack)
install(+atom,+atom)
- zero_or_one
install/1
Installs a pack (if its name is unique among all registries) using default options. Fails if the pack is already installed or unknown. Fails also if the pack is available from multiple registries.
static
install(Pack)
install(+atom)
- zero_or_one
update/3
Updates an outdated pack to the specified version using the specified options. Fails if the pack or the pack version is unknown or if the pack is not installed. Fails also if the pack is pinned and not using a force(true)
option.
static
update(Pack,Version,Options)
update(+atom,++callable,++list(callable))
- zero_or_one
force(Boolean)
option: Force update if the pack is pinned. Default isfalse
.
clean(Boolean)
option: Clean pack archive after updating. Default isfalse
.
verbose(Boolean)
option: Verbose updating steps. Default isfalse
.
checksum(Boolean)
option: Verify pack archive checksum. Default istrue
.
checksig(Boolean)
option: Verify pack archive signature. Default isfalse
.
curl(Atom)
option: Extra command-line options. Default is''
.
gpg(Atom)
option: Extra command-line options. Default is''
.
tar(Atom)
option: Extra command-line options. Default is''
.
update/2
Updates an outdated pack to its latest version using the specified options. Fails if the pack is unknown or not installed. Fails also if the pack is pinned and not using a force(true)
option.
static
update(Pack,Options)
update(+atom,++list(callable))
- zero_or_one
force(Boolean)
option: Force update if the pack is pinned. Default isfalse
.
clean(Boolean)
option: Clean pack archive after updating. Default isfalse
.
verbose(Boolean)
option: Verbose updating steps. Default isfalse
.
checksum(Boolean)
option: Verify pack archive checksum. Default istrue
.
checksig(Boolean)
option: Verify pack archive signature. Default isfalse
.
curl(Atom)
option: Extra command-line options. Default is''
.
gpg(Atom)
option: Extra command-line options. Default is''
.
tar(Atom)
option: Extra command-line options. Default is''
.
update/1
Updates an outdated pack to its latest version using default options. Fails if the pack is pinned, not installed, or unknown.
static
update(Pack)
update(+atom)
- zero_or_one
update/0
Updades all outdated packs (that are not pinned) using default options.
static
update
- zero_or_one
uninstall/2
Uninstalls a pack using the specified options. Fails if the pack is unknown or not installed. Fails also if the pack is pinned or have dependents and not using a force(true)
option.
static
uninstall(Pack,Options)
uninstall(+atom,++list(compound))
- zero_or_one
force(Boolean)
option: Force deletion if the pack is pinned. Default isfalse
.
clean(Boolean)
option: Clean pack archive after deleting. Default isfalse
.
verbose(Boolean)
option: Verbose uninstalling steps. Default isfalse
.
uninstall/1
Uninstalls a pack using default options. Fails if the pack is pinned, have dependents, not installed, or unknown.
static
uninstall(Pack)
uninstall(+atom)
- zero_or_one
uninstall/0
Uninstalls all packs using the force(true)
option.
static
uninstall
- zero_or_one
clean/2
Cleans all pack archives. Fails if the the pack is unknown.
static
clean(Registry,Pack)
clean(+atom,+atom)
- zero_or_one
clean/1
Cleans all pack archives. Fails if the pack is not unknown.
static
clean(Pack)
clean(+atom)
- zero_or_one
clean/0
Cleans all archives for all packs.
static
clean
- one
save/2
Saves a list of all installed packs and registries plus pinning status to a file using the given options. Registries without installed packs are saved when using the option save(all)
and skipped when using the option save(installed)
(default).
static
save(File,Options)
save(+atom,++list(compound))
- one
save/1
Saves a list of all installed packs and their registries plus pinning status to a file using default options.
static
save(File)
save(+atom)
- one
restore/2
Restores a list of registries and packs plus their pinning status from a file using the given options. Fails if restoring is not possible.
static
restore(File,Options)
restore(+atom,++list(compound))
- zero_or_one
force(Boolean)
option: Force restoring if a registry is already defined or a pack is already installed. Default istrue
.
clean(Boolean)
option: Clean registry and pack archives after restoring. Default isfalse
.
verbose(Boolean)
option: Verbose restoring steps. Default isfalse
.
checksum(Boolean)
option: Verify pack archive checksums. Default istrue
.
checksig(Boolean)
option: Verify pack archive signatures. Default isfalse
.
curl(Atom)
option: Extra command-line options. Default is''
.
gpg(Atom)
option: Extra command-line options. Default is''
.
tar(Atom)
option: Extra command-line options. Default is''
.
restore/1
Restores a list of registries and packs plus their pinning status from a file using default options. Fails if restoring is not possible.
static
restore(File)
restore(+atom)
- zero_or_one
dependents/3
Returns a list of all installed packs that depend on the given pack from the given registry. Fails if the pack is unknown.
static
dependents(Registry,Pack,Dependents)
dependents(+atom,+atom,-list(atom))
- zero_or_one
dependents/2
Prints a list of all installed packs that depend on the given pack from the given registry. Fails if the pack is unknown.
static
dependents(Registry,Pack)
dependents(+atom,+atom)
- zero_or_one
dependents/1
Prints a list of all installed packs that depend on the given pack if unique from all defined registries. Fails if the pack is unknown or available from multiple registries.
static
dependents(Pack)
dependents(+atom)
- zero_or_one
lint/2
Checks the pack specification. Fails if the pack is unknown or if linting detects errors.
static
lint(Registry,Pack)
lint(+atom,+atom)
- zero_or_one
lint/1
Checks the pack specification. Fails if the pack is unknown, or available from multiple registries, or if linting detects errors.
static
lint(Pack)
lint(+atom)
- zero_or_one
lint/0
Checks all pack specifications.
static
lint
- one
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)