ca.aaronlevin

gitrev

package gitrev

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. gitrev
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class BadExitValue(code: Int) extends RunGitError with Product with Serializable

  2. class GitRevMacro extends AnyRef

  3. sealed trait RunGitError extends AnyRef

    A small sealed-trait hierarchy to capture errors while calling out to git

Value Members

  1. object GitRevMacro

  2. object RunGit

    between Scala 2.

  3. object RuntimeFailure extends RunGitError with Product with Serializable

  4. object UnexpectedGitOutput extends RunGitError with Product with Serializable

  5. def gitHash: String

    A Macro to produce the full git hash (via git rev-parse HEAD)

    A Macro to produce the full git hash (via git rev-parse HEAD)

    returns

    a String containing the full git hash (or 'UNKNOWN' if a failure is encountered)

    Annotations
    @macroImpl( ... )
  6. def gitHashShort: String

    A Macro to produce the shortened git hash (via git rev-parse --short HEAD)

    A Macro to produce the shortened git hash (via git rev-parse --short HEAD)

    returns

    a String containing the shortened git hash (or 'UNKNOWN' if a failure is encountered)

    Annotations
    @macroImpl( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped