class Git extends AnyRef
- Source
- git.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Git
- AnyRef
- Any
Implicitly
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class Commit(id: String, author: String, email: String, date: Date, subject: String, body: String, refs: List[Ref]) extends Product with Serializable
- case class Ref(path: String) extends Product with Serializable
- case class Remote(name: String, url: String) extends Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Git, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applyIf(t: Boolean, f: (Git) => Git): Git
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Git) => Boolean)(f: (Git) => Git): Git
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def autoCommit(msg: String = "auto commit"): Result[String]
- def branch: drx.Future[String]
- def clean: Result[File]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commit(msg: String): Result[String]
- def commits(lastN: Int): Result[Commit]
- def commits: Result[Commit]
- val config: File
- def diff: Result[File]
- lazy val dir: File
- def elementOf(xs: Set[Git]): Boolean
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Git) => Boolean, msg: => Any): Git
- def ensuring(cond: (Git) => Boolean): Git
- def ensuring(cond: Boolean, msg: => Any): Git
- def ensuring(cond: Boolean): Git
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fetch(args: String*): Result[String]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def git(cmd: String, args: String*): Shell
- val gitDir: File
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def head: drx.Future[Commit]
- lazy val isBare: Boolean
- def isDirty: drx.Future[Boolean]
check if a git repo has modified files
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def krypton: drx.Future[Version]
- def log(format: String): Result[String]
- def makeBare: Git
- def merge(args: String*): Result[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (Git) => Boolean): Option[Git]
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Git) => Boolean): Option[Git]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def patch: drx.Future[String]
- def preApply[B](f: (Git) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def prune(remote: String = "origin"): Result[String]
- def pull(args: String*): Result[String]
- def push(args: String*): Result[String]
- val refs: Result[(Ref, Commit)]
- def remotes: Result[Remote]
- def resetAndClean(): Result[String]
- def show(date: Date, file: File): Result[String]
- def sideEffect(f: (Git) => Unit): Git
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Git) => Boolean): Option[Git]
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def staged: Result[File]
- def sync(remote: String = "origin", branch: String = "master"): Result[String]
- def syncBareTo(dst: File, dryRun: Boolean = false): Git
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Result[(Ref, Commit)]
- val thisAny: Git
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def toString(): String
- Definition Classes
- Git → AnyRef → Any
- def undo(file: File): Result[String]
- def versions: Result[(Version, Commit)]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- lazy val workTree: File
Deprecated Value Members
- def ?>(f: (Git) => Boolean): Option[Git]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def log: Result[Commit]
- Annotations
- @deprecated
- Deprecated
(Since version di4) use commmits instead
- def |>[B](f: (Git) => B): B
- Implicit
- This member is added by an implicit conversion from Git toDrxAny[Git] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Git, B)
- Implicit
- This member is added by an implicit conversion from Git toArrowAssoc[Git] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.