Version comparisons
This module handles versions and version comparators. A version is a string of the form "1.0.0". We compare integer and non-integer parts between to version to order them. Version comparators defined relations to a set of version. E.g. ">= 1.0.0" is a version comparator and defines all version above "1.0.0", including "1.0.0".
The version comparison is done using Debian policy for version.
Convert and compare version strings.
Convert a comparator to string. Example of output ">= 3.12.1"
.
comparator_ge version comparator
Check if comparator
is compatible with all versions >= than version
Check that we have a version constraint. Not exported.