View Source Igniter.Util.Version (igniter v0.3.49)

Utilities for working versions and version requirements

Summary

Functions

Link to this function

version_string_to_general_requirement(version)

View Source
Link to this function

version_string_to_general_requirement!(version)

View Source
@spec version_string_to_general_requirement!(String.t()) :: String.t() | no_return()

Provides a general requirement for a given version string.

For example

3.1.2 would be ~> 3.0 and 0.2.4 would be ~> 0.2