Public Member Functions | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
_.Library.Boolean | CompareDotSeparatedStrings (_.Library.String pThis, _.Library.String pOther) |
Compare two dot-separated strings (usually prerelease or postrelease identifiers). | |
_.Library.Boolean | Follows (_.IPM.General.SemanticVersion pVersion) |
Returns 1 if this version is a later version than pVersion. More... | |
_.Library.Boolean | IsBackwardCompatibleWith (_.IPM.General.SemanticVersion pVersion) |
Returns 1 if this version's number indicates that it will also support everything in pVersion. More... | |
_.Library.Boolean | IsCompatibleWith (_.IPM.General.SemanticVersion pVersion) |
Returns 1 if this version's number indicates that it supports in pVersion. More... | |
Public Attributes | |
Build | |
More... | |
Major | |
More... | |
Minor | |
More... | |
Patch | |
More... | |
Postrelease | |
This is an alias for Prerelease. More... | |
Prerelease | |
More... | |
_.Library.Status OnValidateObject | ( | ) |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to.
provide notification that the current object is being validated.
If this method returns an error then <METHOD>ValidateObject</METHOD> will fail.
_.Library.Boolean Follows | ( | _.IPM.General.SemanticVersion | pVersion | ) |
Returns 1 if this version is a later version than pVersion.
From the SemVer 2.0.0 specification:
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0 Also, two prerelease versions with mismatched major/minor/patch should not follow each other; see: node-semver
_.Library.Boolean IsBackwardCompatibleWith | ( | _.IPM.General.SemanticVersion | pVersion | ) |
Returns 1 if this version's number indicates that it will also support everything in pVersion.
That is, it has the same major and a later or equal minor version to pVersion.
_.Library.Boolean IsCompatibleWith | ( | _.IPM.General.SemanticVersion | pVersion | ) |
Returns 1 if this version's number indicates that it supports in pVersion.
That is, it has the same major and minor version as pVersion.
Build |
Major |
Minor |
Patch |
Postrelease |
This is an alias for Prerelease.
It is used for code readability when SemVerPostRelease is enabled.
Prerelease |