|
NAH 1.0.6
Native Application Host - Library API Reference
|
A version range is a union of comparator sets (OR) More...
#include <semver.hpp>
Public Member Functions | |
| std::optional< Version > | min_version () const |
| Get the minimum version from the range. | |
| std::string | selection_key () const |
| Get selection key as "MAJOR.MINOR" from min_version. | |
Public Attributes | |
| std::vector< ComparatorSet > | sets |
A version range is a union of comparator sets (OR)
e.g., ">=1.0.0 <2.0.0 || >=3.0.0" is two sets ORed together
Definition at line 62 of file semver.hpp.
| std::optional< Version > nah::VersionRange::min_version | ( | ) | const |
Get the minimum version from the range.
| std::string nah::VersionRange::selection_key | ( | ) | const |
Get selection key as "MAJOR.MINOR" from min_version.
| std::vector<ComparatorSet> nah::VersionRange::sets |
Definition at line 63 of file semver.hpp.