State

mill.util.VcsVersion.State
See theState companion object
case class State(currentRevision: String, lastTag: Option[String], commitsSinceLastTag: Int, dirtyHash: Option[String], vcs: Option[Vcs])

Attributes

Companion
object
Source
VcsVersion.scala
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def format(noTagFallback: String = ..., countSep: String = ..., commitCountPad: Byte = ..., revSep: String = ..., revHashDigits: Int = ..., dirtySep: String = ..., dirtyHashDigits: Int = ..., tagModifier: String => String = ..., untaggedSuffix: String = ...): String

Attributes

Source
VcsVersion.scala
def stripV(tag: String): String

By default we strip the leading v if a user uses it. Ex. v2.3.2 -> 2.3.2

By default we strip the leading v if a user uses it. Ex. v2.3.2 -> 2.3.2

Value parameters

tag

the tag to process

Attributes

Returns

either the stripped tag or the tag verbatim

Source
VcsVersion.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala