type

LibVersion

@Js
const mixin LibVersion

Xeto library name, version, and dependencies

methods

compare

Sort by name, then version

depends

Dependencies of this library

doc

Summary information or empty string if not available

name

Library dotted name

orderByDepends

Order a list of versions by their dependencies.

version

Library version

Slot Details

compare

override Int compare(Obj that)

Sort by name, then version

depends

abstract LibDepend[] depends()

Dependencies of this library

doc

abstract Str doc()

Summary information or empty string if not available

name

abstract Str name()

Library dotted name

orderByDepends

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.

version

abstract Version version()

Library version