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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product