aurorafw.core.semver

Semantic Versioning

This file defines semantic versioning validators and structs for versioning

Members

Functions

bumpVersion
string bumpVersion(string ver)

Increments a given (partial) version number to the next higher version.

compareSemVer
int compareSemVer(string a, string b)

Compares the precedence of two SemVer version strings.

expandVersion
string expandVersion(string ver)

Takes a partial version and expands it to a valid SemVer version.

isPreReleaseVersion
bool isPreReleaseVersion(string ver)

Determines if a given valid SemVer version has a pre-release suffix.

isSemVer
bool isSemVer(string ver)

Validates a version string according to the SemVer specification.

isValidVersion
bool isValidVersion(string str)

Check if the given version is semver compatible

Structs

Version
struct Version

Version struct

Meta

Date

Date: 2018-2019

Authors

Luís Ferreira <luis@aurorafoss.org>

License

GNU Lesser General Public License (Version 3, 29 June 2007)