SemVer

open class SemVer(val major: BigInteger, val minor: BigInteger, val patch: BigInteger, val prerel: String? = null, val buildMetadata: String? = null) : Comparable<SemVer>

Representation of a version string in the format of Semantic Versioning 2.0.

Constructors

Link copied to clipboard
constructor(major: ULong, minor: ULong, patch: ULong, prerel: String? = null, buildMetadata: String? = null)
constructor(major: BigInteger, minor: BigInteger, patch: BigInteger, prerel: String? = null, buildMetadata: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val buildMetadata: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val prerel: String? = null

Functions

Link copied to clipboard
open operator override fun compareTo(other: SemVer): Int
Link copied to clipboard
fun equals(other: SemVer): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String