dub.semver

Implementes version validation and comparison according to the semantic versioning specification.

Members

Functions

compareVersions
int compareVersions(string a, string b)

Compares the precedence of two SemVer version strings.

isPreReleaseVersion
bool isPreReleaseVersion(string ver)
Undocumented in source.
isValidVersion
bool isValidVersion(string ver)

Validates a version string according to the SemVer specification.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig