mixin

LibVersion

@Js
const mixin LibVersion

Xeto library name, version, and dependencies

fields flagHxSysOnly

methods compare

Sort by name, then version

depends

Dependencies of this library

digest

Digest of the exact bytes of xetolib zip file

doc

Summary information or empty string if not available

maturity

Publication maturity as claimed by the author in the lib meta

name

Library dotted name

orderByDepends

Order a list of versions by their dependencies

origin

Origin metadata if this lib was installed from a remote repo

toStr

Return "name-version"

version

Library version

compare Int compare(Obj that)

Sort by name, then version

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

digest virtual Str? digest()

Digest of the exact bytes of xetolib zip file. The string is formatted as "sha256:" followed by base64uri encoding of the SHA-256 hash. A null digest means there is no stable zip artifact, such as a source lib whose zip is assembled on the fly with non-reproducible bytes.

doc abstract Str doc()

Summary information or empty string if not available

flagHxSysOnly const static Int : flagHxSysOnly

maturity virtual LibMaturity maturity()

Publication maturity as claimed by the author in the lib meta; an unclaimed version defaults to stable

name abstract Str name()

Library dotted name

orderByDepends static LibVersion[] orderByDepends(LibVersion[] libs, Bool extern := false)

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. If extern is true then dependencies on libs outside the list are allowed and ignored for ordering.

origin abstract LibOrigin? origin(Bool checked := true)

Origin metadata if this lib was installed from a remote repo

toStr abstract Str toStr()

Return "name-version"

version abstract Version version()

Library version

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