View source

abstract thx.semver.Version(SemVer) from SemVer to SemVer

Available on all platforms

Class Fields

function arrayToVersion(a:Array<Int>):Version

function stringToVersion(s:String):Version

Instance Fields

var build(get,null):String

var hasBuild(get,null):Bool

var hasPre(get,null):Bool

var major(get,null):Int

var minor(get,null):Int

var patch(get,null):Int

var pre(get,null):String

function different(other:Version):Bool

function equals(other:Version):Bool

function greaterThan(other:Version):Bool

function greaterThanOrEqual(other:Version):Bool

function lessThan(other:Version):Bool

function lessThanOrEqual(other:Version):Bool

function nextBuild():Version

function nextMajor():Version

function nextMinor():Version

function nextPatch():Version

function nextPre():Version

inline function satisfies(rule:VersionRule):Bool

function toString():String

function withBuild(build:String):Version

function withPre(pre:String, ?build:String):Version