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

satisfiedBy
bool satisfiedBy(SemVer semVer)

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

toString
string toString()

Return expanded string representation.

Properties

isValid
bool isValid [@property getter]

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

valid
deprecated bool valid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta