ConsoleGitReadableOnly

com.github.sbt.git.ConsoleGitReadableOnly
class ConsoleGitReadableOnly(git: GitRunner, cwd: File, log: Logger) extends GitReadonlyInterface

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def branch: String

The currently checked out branch.

The currently checked out branch.

Attributes

def branches: Seq[String]

The local branches

The local branches

Attributes

def currentTags: Seq[String]

The current tags associated with the local repository (at its HEAD).

The current tags associated with the local repository (at its HEAD).

Attributes

def describedVersion: Option[String]

Version of the software as returned by git describe --tags. Any patterns provided are used as per --match

Version of the software as returned by git describe --tags. Any patterns provided are used as per --match

Attributes

override def describedVersion(patterns: Seq[String]): Option[String]

Attributes

Definition Classes
def hasUncommittedChanges: Boolean

Whether there are uncommitted changes (i.e. whether any tracked file has changed)

Whether there are uncommitted changes (i.e. whether any tracked file has changed)

Attributes

def headCommitDate: Option[String]

The current commit date of the local repository in ISO-8601 format, or none.

The current commit date of the local repository in ISO-8601 format, or none.

Attributes

def headCommitMessage: Option[String]

The message of current commit *

The message of current commit *

Attributes

def headCommitSha: Option[String]

The current commit SHA of the local repository, or none.

The current commit SHA of the local repository, or none.

Attributes

def remoteBranches: Seq[String]

The remote branches

The remote branches

Attributes

def remoteOrigin: String

The remote origin as returned by git ls-remote --get-url origin.

The remote origin as returned by git ls-remote --get-url origin.

Attributes