SemVer

data class SemVer(val major: Int, val minor: Int, val patch: Int) : Comparable<SemVer>

Parses a Semantic version in the format of v1.0.0

Constructors

Link copied to clipboard
constructor(major: Int, minor: Int, patch: Int)

Types

Link copied to clipboard
class Adapter : TypeAdapter<SemVer>
Link copied to clipboard
object Companion

Functions

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

Properties

Link copied to clipboard
val major: Int
Link copied to clipboard
val minor: Int
Link copied to clipboard
val patch: Int