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

Utilities for working versions and version requirements

Summary

Functions

version_string_to_general_requirement(version)

version_string_to_general_requirement!(version)

@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