protocol
pack_protocol
Pack specification protocol.
staticPublic predicates
name/1
Pack name.
staticname(Name)name(?atom) - zero_or_onedescription/1
Pack one line description.
staticdescription(Description)description(?atom) - zero_or_onelicense/1
Pack license. Specified using the identifier from the SPDX License List (https://spdx.org/licenses/).
staticlicense(License)license(?atom) - zero_or_onehome/1
Pack home HTTPS or file URL.
statichome(Home)home(?atom) - zero_or_oneversion/6
Table of available versions.
staticversion(Version,Status,URL,Checksum,Dependencies,Portability)version(?compound,?atom,-atom,-pair(atom,atom),-list(pair(atom,callable)),?atom) - zero_or_moreversion(?compound,?atom,-atom,-pair(atom,atom),-list(pair(atom,callable)),-list(atom)) - zero_or_more
Version: The
Versionargument uses the same format as entity versions:Major:Minor:Pathch.Status: Version development status. E.g
stable,rc,beta,alpha, ordeprecated.URL: File URL for a local directory or download HTTPS URL for the pack archive.
Checksum: A pair where the key is the hash algorithm and the value is the checksum. Currently, the hash algorithm must be
sha256. Forfile://URLs of local directories, usenone.Dependencies: A list of the pack dependencies. Each dependency is a compound term
Registry::Pack Operator VersionwhereOperatoris a term comparison operator. The atomlogtalkcan also be used in place of Registry::Pack`.Dependency names: Either
Registry::Dependencyor justDependencywhere bothRegistryandDependencyare atoms.Portability: Either the atom
allor a list of the supported backend Prolog compilers (using the identifier atoms use by theprolog_dialectflag).Clause order: Versions must be listed ordered from newest to oldest.
Protected predicates
(none)
Private predicates
(none)