Method |
Description |
|
createArchive ( string $tree, string $output, string $format = 'zip' ) |
Create a TAR or ZIP archive of a git tree. |
|
getAuthorStatistics ( $branch ) |
|
|
getBlame ( string $file ) : array |
Blames the provided file and parses the output. |
|
getCommit ( string $commitHash ) : array |
Show the data from a specific commit. |
|
getHead ( $default = null ) |
Get the current branch, returning a default value when HEAD is detached. |
|
getLatestCommit ( $file = null ) |
|
|
getPaginatedCommits ( string $file = null, $page ) : array |
Show the repository commit log with pagination. |
|
getStatistics ( $branch ) |
|
|
hasCommit ( $commitHash ) : boolean |
Return true if the repo contains this commit. |
|
pathExists ( string $commitish, string $path ) : boolean |
Return true if $path exists in $branch; return false otherwise. |
|
readDiffLogs ( array $logs ) : array |
Read diff logs and generate a collection of diffs. |
|
searchCommitLog ( $query, $branch ) |
|
|
searchTree ( $query, $branch ) |
|
|