GitInstaller

com.geirolz.git4s.GitInstaller
See theGitInstaller companion object
trait GitInstaller[F[_]]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Git4s[F]

Members list

Value members

Abstract methods

def install(using CmdLogger[F]): F[Unit]

Install git

Install git

Attributes

def installIfNeeded(using CmdLogger[F]): F[Boolean]

Install git if it's not already installed

Install git if it's not already installed

Attributes

def isInstalled(using CmdLogger[F]): F[Boolean]

Check if git is installed

Check if git is installed

Attributes

def reinstall(using CmdLogger[F]): F[Unit]

Uninstall git and then install it again

Uninstall git and then install it again

Attributes

def uninstall(using CmdLogger[F]): F[Unit]

Uninstall git

Uninstall git

Attributes

def version(using CmdLogger[F]): F[GitVersion]

Get the installed git version

Get the installed git version

Attributes