mixin

Funcs

Funcs : Funcs

meta mixin✓ slots repoPing

Ping the repo for availability and return summary metadata

repoSearch

Search the repo for libs matching the query string

repoVersions

List the versions available for the given lib sorted from latest to oldest

repoFetch

Download the xetolib zip file for the given lib name and version

repoPublish

Publish a lib version to the repo

repoPing () => RepoPing <noSideEffects, op>

Ping the repo for availability and return summary metadata. See RepoPing for the tags a repo should report where applicable.

repoSearch (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 query
  • limit: max results to return; server may clamp

repoVersions (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 name
  • versions: version constraints to filter results
  • limit: max results to return

repoFetch (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 name
  • version: exact version to fetch

repoPublish (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

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT