object
packs
Pack handling predicates.
static, context_switching_callsPublic predicates
available/2
Enumerates, by backtracking, all available packs.
staticavailable(Registry,Pack)available(?atom,?atom) - zero_or_moreRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is neither a variable nor an atom:type_error(atom,Pack)available/1
Lists all the packs that are available for installation from the given registry.
staticavailable(Registry)available(+atom) - oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)available/0
Lists all the packs that are available for installation from all defined registries.
staticavailable - oneinstalled/4
Enumerates by backtracking all installed packs.
staticinstalled(Registry,Pack,Version,Pinned)installed(?atom,?atom,?compound,?boolean) - zero_or_moreRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is neither a variable nor an atom:type_error(atom,Pack)Version is neither a variable nor a compound term:type_error(compound,Version)Pinned is neither a variable nor a boolean:type_error(boolean,Pinned)installed/3
Enumerates by backtracking all installed packs.
staticinstalled(Registry,Pack,Version)installed(?atom,?atom,?compound) - zero_or_moreRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is neither a variable nor an atom:type_error(atom,Pack)Version is neither a variable nor a compound term:type_error(compound,Version)installed/1
Lists all the packs that are installed from the given registry. Fails if the registry is unknown.
staticinstalled(Registry)installed(+atom) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)installed/0
Lists all the packs that are installed.
staticinstalled - oneoutdated/4
Enumerates by backtracking all installed but outdated packs (together with the current version installed and the latest version available).
staticoutdated(Registry,Pack,Version,LatestVersion)outdated(?atom,?atom,?compound,?compound) - zero_or_moreRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is neither a variable nor an atom:type_error(atom,Pack)Version is neither a variable nor a compound term:type_error(compound,Version)LatestVersion is neither a variable nor a compound term:type_error(compound,LatestVersion)outdated/1
Lists all the packs from the given registry that are installed but outdated.
staticoutdated(Registry)outdated(+atom) - oneRegistry is neither a variable nor an atom:type_error(atom,Registry)outdated/0
Lists all the packs that are installed but outdated.
staticoutdated - oneorphaned/2
Lists all the packs that are installed but whose registry is no longer defined.
staticorphaned(Registry,Pack)orphaned(?atom,?atom) - zero_or_moreRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is neither a variable nor an atom:type_error(atom,Pack)orphaned/0
Lists all the packs that are installed but whose registry is no longer defined.
staticorphaned - oneversions/3
Returns a list of all available pack versions. Fails if the pack is unknown.
staticversions(Registry,Pack,Versions)versions(+atom,+atom,-list) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)describe/2
Describes a registered pack, including installed version if applicable. Fails if the pack is unknown.
staticdescribe(Registry,Pack)describe(+atom,+atom) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)describe/1
Describes a registered pack, including installed version if applicable. Fails if the pack is unknown.
staticdescribe(Pack)describe(+atom) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)search/1
Searches packs whose name or description includes the search term (case sensitive).
staticsearch(Term)search(+atom) - oneTerm is a variable:instantiation_errorTerm is neither a variable nor an atom:type_error(atom,Term)install/4
Installs a new pack using the specified options. Fails if the pack is unknown or already installed but not using update(true) or force(true) options. Fails also if the pack version is unknown.
staticinstall(Registry,Pack,Version,Options)install(+atom,+atom,++compound,++list(compound)) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)Version is a variable:instantiation_errorVersion is neither a variable nor a valid version:type_error(pack_version,Version)Options is a variable:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)Option of the list Options is a variable:instantiation_errorOption of the list Options is neither a variable nor a compound term:type_error(compound,Option)Option of the list Options is a compound term but not a valid option:domain_error(option,Option)
update(Boolean)option: Update pack if already installed. Default isfalse. Overrides theforce/1option.
force(Boolean)option: Force pack re-installation if 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.
staticinstall(Registry,Pack,Version)install(+atom,+atom,?compound) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)Version is a variable:instantiation_errorVersion is neither a variable nor a valid version:type_error(pack_version,Version)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.
staticinstall(Registry,Pack)install(+atom,+atom) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)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.
staticinstall(Pack)install(+atom) - zero_or_onePack is a variable:instantiation_errorPack is not an atom:type_error(atom,Pack)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.
staticupdate(Pack,Version,Options)update(+atom,++callable,++list(callable)) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)Version is a variable:instantiation_errorVersion is neither a variable nor a valid version:type_error(pack_version,Version)Options is a variable:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)Option of the list Options is a variable:instantiation_errorOption of the list Options is neither a variable nor a compound term:type_error(compound,Option)Option of the list Options is a compound term but not a valid option:domain_error(option,Option)
install(Boolean)option: Install pack latest version if not already installed. Default isfalse.
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.
staticupdate(Pack,Options)update(+atom,++list(callable)) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)Options is a variable:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)Option of the list Options is a variable:instantiation_errorOption of the list Options is neither a variable nor a compound term:type_error(compound,Option)Option of the list Options is a compound term but not a valid option:domain_error(option,Option)
install(Boolean)option: Install pack latest version if not already installed. Default isfalse.
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.
staticupdate(Pack)update(+atom) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)update/0
Updades all outdated packs (that are not pinned) using default options.
staticupdate - zero_or_oneuninstall/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.
staticuninstall(Pack,Options)uninstall(+atom,++list(compound)) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)Options is a variable:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)Option of the list Options is a variable:instantiation_errorOption of the list Options is neither a variable nor a compound term:type_error(compound,Option)Option of the list Options is a compound term but not a valid option:domain_error(option,Option)
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.
staticuninstall(Pack)uninstall(+atom) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)uninstall/0
Uninstalls all packs using the force(true) option.
staticuninstall - zero_or_oneclean/2
Cleans all pack archives. Fails if the the pack is unknown.
staticclean(Registry,Pack)clean(+atom,+atom) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)clean/1
Cleans all pack archives. Fails if the pack is not unknown.
staticclean(Pack)clean(+atom) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)clean/0
Cleans all archives for all packs.
staticclean - onesave/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).
staticsave(File,Options)save(+atom,++list(compound)) - one_or_errorFile is a variable:instantiation_errorFile is neither a variable nor an atom:type_error(atom,File)File is an existing file but cannot be written:permission_error(open,source_sink,File)Options is a variable:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)Option of the list Options is a variable:instantiation_errorOption of the list Options is neither a variable nor a compound term:type_error(compound,Option)Option of the list Options is a compound term but not a valid option:domain_error(option,Option)save/1
Saves a list of all installed packs and their registries plus pinning status to a file using default options.
staticsave(File)save(+atom) - one_or_errorFile is a variable:instantiation_errorFile is neither a variable nor an atom:type_error(atom,File)File is an existing file but cannot be written:permission_error(open,source_sink,File)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.
staticrestore(File,Options)restore(+atom,++list(compound)) - zero_or_one_or_errorFile is a variable:instantiation_errorFile is neither a variable nor an atom:type_error(atom,File)File is an atom but not an existing file:existence_error(file,File)File is an existing file but cannot be read:permission_error(open,source_sink,File)Options is a variable:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)Option of the list Options is a variable:instantiation_errorOption of the list Options is neither a variable nor a compound term:type_error(compound,Option)Option of the list Options is a compound term but not a valid option:domain_error(option,Option)
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.
staticrestore(File)restore(+atom) - zero_or_one_or_errorFile is a variable:instantiation_errorFile is neither a variable nor an atom:type_error(atom,File)File is an atom but not an existing file:existence_error(file,File)File is an existing file but cannot be read:permission_error(open,source_sink,File)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.
staticdependents(Registry,Pack,Dependents)dependents(+atom,+atom,-list(atom)) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)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.
staticdependents(Registry,Pack)dependents(+atom,+atom) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)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.
staticdependents(Pack)dependents(+atom) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)lint/2
Checks the pack specification. Fails if the pack is unknown or if linting detects errors.
staticlint(Registry,Pack)lint(+atom,+atom) - zero_or_oneRegistry is a variable:instantiation_errorRegistry is neither a variable nor an atom:type_error(atom,Registry)Pack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)lint/1
Checks the pack specification. Fails if the pack is unknown, or available from multiple registries, or if linting detects errors.
staticlint(Pack)lint(+atom) - zero_or_onePack is a variable:instantiation_errorPack is neither a variable nor an atom:type_error(atom,Pack)lint/0
Checks all pack specifications.
staticlint - oneProtected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)