package dose3
Install
Dune Dependency
Authors
Maintainers
Sources
md5=dedc2f58f2c2b59021f484abc6681d93
sha512=603462645bac190892a816ecb36ef7b9c52f0020f8d7710dc430e2db65122090fdedb24a8d2e03c32bf53a96515f5b51499603b839680d0a7a2146d6e0fb6e34
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