Semver
Utilities for working with semver.org-compliant version strings.
Summary↑
| is_valid(version) | Validates that |
| parse!(version) | Parses a version string into a |
| parse(version) | Parses |
| to_string(semver) | Converts the |
| version() | Gets the version string of the module |
Types ↑
Functions
Specs:
- is_valid(String.t) :: boolean
Validates that version is a valid Semver string.
Specs:
Parses version into a Semver struct.
Specs:
Parses a version string into a Semver struct. If version is not a valid version string, it
raises Semver.Error.
Specs:
Converts the semver struct into a version string.
Specs:
- version :: String.t
Gets the version string of the module.