Funcs
Funcs : Funcs
Ping the repo for availability and return summary metadata
Search the repo for libs matching the query string
List the versions available for the given lib sorted from latest to oldest
Download the xetolib zip file for the given lib name and version
Publish a lib version to the repo
() => RepoPing <noSideEffects, op>
Ping the repo for availability and return summary metadata. See RepoPing for the tags a repo should report where applicable.
(query: Str, limit: Int?) => RepoSearch <noSideEffects, op>
Search the repo for libs matching the query string. The query "*" matches all libs, otherwise a lib matches when its dotted name contains the query as a substring; servers may support additional query syntax. The result summarizes each matching lib as the best matches in relevance order; only libs which currently serve a version are reported.
Parameters:
query: search querylimit: max results to return; server may clamp
(lib: Str, versions: LibDependVersions?, limit: Int?) => List <of:RepoLibVersion> <noSideEffects, op>
List the versions available for the given lib sorted from latest to oldest. If the lib name is unknown return an empty list.
Parameters:
lib: dotted lib nameversions: version constraints to filter resultslimit: max results to return
(lib: Str, version: Version) => XetoLibFile <noSideEffects, op>
Download the xetolib zip file for the given lib name and version.
If the lib is not available raise UnknownLibErr, or if the lib
does not have the requested version raise UnknownLibVersionErr.
Parameters:
lib: dotted lib nameversion: exact version to fetch
(file: XetoLibFile) => RepoLibVersion <op>
Publish a lib version to the repo. The posted xetolib zip is validated, compiled, and becomes immediately servable at its pin. Repos which do not support publishing report a 501 error.
Parameters:
file: xetolib zip file as the raw POST body