Version

data class Version : Comparable<Version>

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: Version): 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
fun toInt(): Int
Link copied to clipboard
open override fun toString(): String

Returns the original version string. But without the optional “v” at the start.

Properties

Link copied to clipboard
val buildNumber: Option<Long>
Link copied to clipboard
Link copied to clipboard
val major: Int
Link copied to clipboard
val minor: Int
Link copied to clipboard
val patch: Int
Link copied to clipboard
val tags: ImmutableSet<Version.PreReleaseTag>
Link copied to clipboard
val timestamp: Option<Instant>