dud.semver.versionrange

Undocumented in source.

Members

Enums

BoundRelation
enum BoundRelation
Inclusive
enum Inclusive
Undocumented in source.
SetRelation
enum SetRelation
Undocumented in source.

Functions

bumpIncompatibleVersion
string bumpIncompatibleVersion(string ver)

Increments a given version number to the next incompatible version.

isInRange
bool isInRange(const(VersionRange) range, const(SemVer) v)
Undocumented in source. Be warned that the author may not have intended to support it.
parseVersionRange
Nullable!VersionRange parseVersionRange(string ves)

Sets/gets the matching version range as a specification string.

relation
BoundRelation relation(const(SemVer) a, Inclusive aInclusive, const(SemVer) b, Inclusive bInclusive)

Return whether a is less than, equal, or greater than b

relation
SetRelation relation(const(VersionRange) a, const(VersionRange) b)

Tests the relation between a and b. A and b can be overlapping or disjoint and a can be a subset of b.

Structs

VersionRange
struct VersionRange
Undocumented in source.

Meta