Version

A version in the format "major.update.bugfix-prerelease+buildmetadata" according to Semantic Versioning Specification v2.0.0.

(deprecated): This also supports a format like "~master", to identify trunk, or "~branch_name" to identify a branch. Both Version types starting with "~" refer to the head revision of the corresponding branch. This is subject to be removed soon.

Members

Functions

opCmp
int opCmp(ref const Version other)

Comparing Versions is generally possible, but comparing Versions identifying branches other than master will fail. Only equality can be tested for these.

Properties

isBranch
bool isBranch [@property getter]

Returns true, if this version indicates a branch, which is not the trunk.

Meta