mixin

LibRepo

@Js
const mixin LibRepo

Library repository is a database of Xeto libs. A repository might provide access to multiple versions per library. Use XetoEnv.repo to get the VMs default repo.

methods versions

List the verions available for given library name

solveDepends

Solve the dependency graph for given list of libs and return a complete dependency graph

libs

List the library names installed in the repository

version

Get the info for a specific library name and version

latest

Get the latest version of the library name available

latestMatch

Get the latest version that matches the given dependency

latest abstract LibVersion? latest(Str name, Bool checked)

Get the latest version of the library name available. If no versions are available then raise exception or return null based on check flag.

latestMatch abstract LibVersion? latestMatch(LibDepend depend, Bool checked)

Get the latest version that matches the given dependency. If no matches are available, then raise exception or return null based on check flag.

libs abstract Str[] libs()

List the library names installed in the repository.

solveDepends abstract LibVersion[] solveDepends(LibDepend[] libs)

Solve the dependency graph for given list of libs and return a complete dependency graph. Raise an exception is no solution can be computed based on the installed lib versions.

version abstract LibVersion? version(Str name, Version version, Bool checked)

Get the info for a specific library name and version. If the given library or version is not available then raise exception or return null based on the checked flag.

versions abstract LibVersion[]? versions(Str name, Bool checked)

List the verions available for given library name. If the library is not available then raise exception or return null based on check flag.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST