SemVerHelper
Contains helpers which allow to deal with Semantic Versioning (SemVer).
Nested types and modules
Type | Description |
Ident | |
PreRelease | |
SemVerInfo | Contains the version information. |
Functions and values
Function or value | Description | ||
identRE
Signature: Regex
|
![]() ![]() |
||
isValidSemVer input
Signature: input:string -> bool
|
![]() ![]() Returns true if input appears to be a parsable semver string |
||
parse version
Signature: version:string -> SemVerInfo
|
![]() ![]() Parses the given version string into a SemVerInfo which can be printed using ToString() or compared according to the rules described in the SemVer docs. Sample
|
||
parseIdent s
Signature: s:string -> Ident
|
![]() ![]() |