PreReleaseIdentifier

A SemVer 2.0 pre-release identifier, with a selectable prefix.

Constructors

Link copied to clipboard
constructor(prefix: String, identifier: String)
constructor(prefix: String = "-", segments: List<PreReleaseIdentifier.DotSeparatedIdentifier> = emptyList())

Types

Link copied to clipboard
object Companion

Constants and utilities for working with pre-release identifiers.

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: PreReleaseIdentifier): Int
Link copied to clipboard

Whether this pre-release identifier contains anything.

Link copied to clipboard
open override fun toString(): String