class GitRepository

Methods

__construct(string $path)

No description

static GitRepository
download(string $remote, string $targetDir)

No description

getPath()

No description

getUrl()

No description

getLastCommitHash()

No description

getLastAuthor()

No description

getLastAuthoredDate()

No description

getLastTag(callable $filter = null)

No description

checkout($branch)

No description

Details

at line 27
__construct(string $path)

Parameters

string $path

at line 40
static GitRepository download(string $remote, string $targetDir)

Parameters

string $remote
string $targetDir

Return Value

GitRepository

at line 56
getPath()

at line 61
getUrl()

at line 66
getLastCommitHash()

at line 71
getLastAuthor()

at line 76
getLastAuthoredDate()

at line 81
getLastTag(callable $filter = null)

Parameters

callable $filter

at line 92
checkout($branch)

Parameters

$branch