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.
Lookup a library by name
List all libraries installed in the local repository
Resolve the dependency graph for given list of libs and return a complete dependency graph
abstract LibVersion? lib(Str name, Bool checked := true)
Lookup a library by name.
abstract LibVersion[] libs()
List all libraries installed in the local repository.
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.