Packages

package semver

Since

13 Nov 2017

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. semver
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Label extends Ordered[Label] with LabelOrdering
  2. type SemVer = SemanticVersion

    convenient aliases to SemanticVersion.

    convenient aliases to SemanticVersion. A lot of people use these names because of lazyness, might as well support some trivial type aliases out of the box.

  3. final case class SemanticVersion(major: Int, minor: Int, patch: Int, label: Option[Label] = Option.empty[Label], meta: Option[String] = Option.empty[String]) extends SemanticVersionOrdering with Ordered[SemanticVersion] with Product with Serializable

    A type denoting semantic versions, eg: 4.1.0, with an optional label like "RC", or "beta", etc.

    A type denoting semantic versions, eg: 4.1.0, with an optional label like "RC", or "beta", etc.

    meta

    denotes various meta-information, that is included at the end of the version, after the "+" sign. Examples: git sha version:

    4.1.0-SNAPSHOT+11223aaff
    Since

    10 Nov 2017

Value Members

  1. val SemVer: SemanticVersion.type
  2. implicit def labelToOptLabel(label: Label): Option[Label]

    In this particular case this is by no means a "dangerous" implicit, since we just want to do automatic lifting into Option, because it is the only way labels are used

  3. object Labels

Inherited from AnyRef

Inherited from Any

Ungrouped