- Index
- »
- fan.xeto
- »
- LibVersion
LibVersion
@Js
const mixin LibVersion
Xeto library name, version, and dependencies
Sort by name, then version
Dependencies of this library
Summary information or empty string if not available
Library dotted name
Order a list of versions by their dependencies
Origin metadata if this lib was installed from a remote repo
Return "name-version"
Library version
Int compare(Obj that)
Sort by name, then version
abstract LibDepend[]? depends(Bool checked := true)
Dependencies of this library. This field may be not be available in remote repo searches in which case return raise exception or return null based on checked flag.
abstract Str doc()
Summary information or empty string if not available
const static Int : flagHxSysOnly
abstract Str name()
Library dotted name
static LibVersion[] orderByDepends(LibVersion[] libs)
Order a list of versions by their dependencies. Raise exception if the given list does not satisify all the internal dependencies or has circular dependencies.
abstract LibOrigin? origin(Bool checked := true)
Origin metadata if this lib was installed from a remote repo
abstract Str toStr()
Return "name-version"
abstract Version version()
Library version