package dose3
Install
Dune Dependency
Authors
Maintainers
Sources
md5=bc99cbcea8fca29dca3ebbee54be45e1
sha512=98dc4bd28e9f4aa8384be71b31783ae1afac577ea587118b8457b554ffe302c98e83d0098971e6b81803ee5c4f2befe3a98ef196d6b0da8feb4121e982ad5c2f
doc/dose3.versioning/Dose_versioning/SemverNode/index.html
Module Dose_versioning.SemverNode
Source
this functions follow the semantic versioning specification http://semver.org/
Raw version components. Raw versions are not strictly semantic versions, but can also contains characters as 'x' and 'X' . Raw versions must be converted to semantic versions.
Parses a string into a version. Fail if the version can not be parsed
Parses a string into a version. Fail if the version can not be parsed
Raise Failure if the string cannot be converted
recompose a version string. For all v: equal(v,compose(parse_version v)) = true
. There may, however, be small syntactic differences between v
and compose(parse_version v)
Compare two versions. Raw versions must be converted to be compared
Compare two versions. Fail if one of the versions cannot be parsed or compared
Equality between two versions