Changes

Jump to navigation Jump to search
182 bytes added ,  14:19, 20 July 2022
no edit summary
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|repo:install|$uri as xs:string|empty-sequence()}}<br />
|-valign="top"
| '''Summary'''
|Retrieves and installs a package from the given {{Code|$uri}}. Existing packages are replaced.
|-valign="top"
| '''Errors'''
|{{Error|not-found|#Errors}} a package does not exist.<br />{{Error|descriptor|#Errors}} the package descriptor is invalid.<br />{{Error|installed|#Errors}} the module contained in the package to be installed is already installed as part of another package.<br />{{Error|parse|#Errors}} an error occurred while parsing the package.<br />{{Error|version|#Errors}} the package version is not supported.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|repo:delete|$package as xs:string|empty-sequence()}}<br />
|-valign="top"
| '''Summary'''
|Deletes a {{Code|$package}}. The argument contains the package name, optionally suffixed with a dash and the package version.<br />
|-valign="top"
| '''Errors'''
|{{Error|not-found|#Errors}} a package does not exist.<br />{{Error|delete|#Errors}} the package cannot be deleted.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|repo:list||element(package)*}}<br />
|-valign="top"
| '''Summary'''
|Lists the names and versions of all currently installed packages.<br />
! width="110"|Code
|Description
|-valign="top"
|{{Code|delete}}
|The package cannot be deleted because of dependencies, or because files are missing.
|-valign="top"
|{{Code|descriptor}}
|The package descriptor is invalid.
|-valign="top"
|{{Code|installed}}
|The module contained in the package to be installed is already installed as part of another package.
|-valign="top"
|{{Code|not-found}}
|A package does not exist.
|-valign="top"
|{{Code|parse}}
|An error occurred while parsing the package.
|-valign="top"
|{{Code|version}}
|The package version is not supported.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu