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.

  1. int opCmp(Version other)
    struct Version
    @safe const
    int
    opCmp
    (
    ref const Version other
    )
  2. int opCmp(Version other)

Meta