DefaultReadableGit

com.github.sbt.git.DefaultReadableGit
final class DefaultReadableGit(base: File, gitOverride: Option[GitReadonlyInterface]) extends ReadableGit

Our default readable git uses JGit instead of a process-forking and reading, for speed/safety. However, we allow overriding, since JGit doesn't currently work with git worktrees

Attributes

Graph
Supertypes
trait ReadableGit
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def withGit[A](f: GitReadonlyInterface => A): A

Use the git read-only interface.

Use the git read-only interface.

Attributes