mixin

LocalRepo

@Js
const mixin LocalRepo : LibRepo

LocalRepo models the set of Xeto libs installed on the local machine. It is the authoritative source for runtime lib resolution and is target of install operations from one or more RemoteRepo instances. A given XetoEnv always has exactly one LocalRepo accessed by XetoEnv.repo.

methods lib

Lookup a library by name

libs

List all libraries installed in the local repository

resolveDepends

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

lib abstract LibVersion? lib(Str name, Bool checked := true)

Lookup a library by name.

libs abstract LibVersion[] libs()

List all libraries installed in the local repository.

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

Resolve 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.

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT