Version.opCmp

Compares two versions/branches for precedence.

Versions generally have precedence over branches and the master branch has precedence over other branches. Apart from that, versions are compared using SemVer semantics, while branches are compared lexicographically.

struct Version
const scope @safe pure
int
opCmp

Meta