\ExtendedGitRepository
Class ExtendedGitRepository
The purpose of this subclass is to complement GitRepository with custom methods and (temporarily) override some methods
to improve error handling.
Synopsis
class ExtendedGitRepository
extends GitRepository
{
- // methods
- public array execute()
- protected ExtendedGitRepository run()
- public bool isFileInGit()
- public bool isFileIgnored()
- public bool isFileModified()
Hierarchy
Extends
- Cz\Git\GitRepository
Methods
protected
- run() — TODO: Remove this overrider if [czproject/git-php pull request #50](https://github.com/czproject/git-php/pull/50) gets merged.
public
- execute() — TODO: Remove this overrider if [czproject/git-php pull request #50](https://github.com/czproject/git-php/pull/50) gets merged.
- isFileIgnored()
- isFileInGit() — Checks whether the given file is committed to the git repository or not.
- isFileModified() — Checks whether the given file is modified.