manganese_core_kit v0.1.0 Manganese.CoreKit.Structs.Version
A SemVer version.
Deserialization
See from_string/1
Serialization
The version struct implements the String.Chars
protocol.
Manipulation
- see
increment/2
Link to this section Summary
Functions
The PostgreSQL type used to represent a version.
Link to this section Types
Link to this type
t()
t() :: %Manganese.CoreKit.Structs.Version{ major: non_neg_integer(), minor: non_neg_integer(), patch: non_neg_integer() }
Link to this section Functions
Link to this function
increment(version, version_type \\ :patch)
increment(t(), Manganese.CoreKit.Enumerations.VersionType.t()) :: t()
The PostgreSQL type used to represent a version.