SemVerRange

Represent a semantic version range [~|~>|^|<|<=|=|>=|>]MAJOR[.MINOR.PATCH].

Constructors

this
this(string semVerRange)

Creates and validates a semantic version range from a string.

Members

Functions

isValid
bool isValid()

Property that indicates whether this $(D_PSYMBOL SemVerRange) is valid.

satisfiedBy
bool satisfiedBy(SemVer semVer)

Check if the $(D_PSYMBOL SemVer) semVer satisfies this $(D_PSYMBOL SemVerRange).

toString
string toString()

Return expanded string representation.

Meta