Method |
Description |
|
commitAll ( string $path, string $message ) : array |
|
|
getLog ( string $path, string $searchTerm = null ) : array |
Returns the git log for the specified $path, optionally filtered for $searchTerm |
|
isGitAvailable ( ) : boolean |
Check whether the git command is available. |
|
isWorkingCopy ( string $path ) : boolean |
Check whether the given $path is inside a git repository |
|
isWorkingCopyDirty ( string $path ) : boolean |
Check whether the working copy has uncommitted changes. |
|
isWorkingCopyRoot ( string $path ) : boolean |
Check whether the given $path points to the top-level of a git repository |
|
logContains ( string $path, string $searchTerm ) : boolean |
Checks if the git repository for the given $path has a log entry matching $searchTerm |
|
move ( string $source, string $target ) : integer |
|
|
remove ( $fileOrDirectory ) : integer |
|
|
show ( ) : string |
Get the result of git show for the current directory. |
|