Open a git repository.
Add one or more ignore rules to this repository.
Remove all the metadata associated with an ongoing git merge, including MERGE_HEAD, MERGE_MSG, etc.
Clear ignore rules that were explicitly added.
Return the list of items in the FETCH_HEAD file as an array of FetchHeadItem's.
Read each item in the FETCH_HEAD file to the output range sink, and return the sink.
Return the list of items in the MERGE_HEAD file as an array of MergeHeadItem's.
Read each item in the MERGE_HEAD file to the output range sink, and return the sink.
Calculate hash of file using repository filtering rules.
Test if the ignore rules apply to a given path.
Remove the merge message file for this repository. If the message file does not exist GitException is thrown. Use mergeMsgExists to check whether the merge message file exists.
Make the repository HEAD point to the specified reference.
Set the work path of this repository.
Call the callback function for each entry in the FETCH_HEAD file in this repository.
Walk the FETCH_HEAD file in a foreach loop.
Call the callback function for each entry in the MERGE_HEAD file in this repository.
Walk the MERGE_HEAD file in a foreach loop.
Check if this repository is a bare repository.
Check if this repository is empty.
Check if this repository's HEAD is detached.
Check if the current branch is an orphan.
Determine if this repository is a shallow clone.
Retrieve the merge message for this repository.
Check if the merge message file exists for this repository.
Get the currently active namespace for this repository.
Set the active namespace for this repository.
Get the path of this repository.
Return the current state this repository, e.g. whether an operation such as merge is in progress.
Get the path of the working directory of this repository.
The structure representing a git repository.