parse

fun parse(versionText: String): Version

Parses the versionText as a Version and returns the result or throws a VersionFormatException if the string is not a valid representation of a semantic version.

Sources

Link copied to clipboard