Class ArcanistGitAPI
Interfaces with Git working copies.
Tasks
Methods
public addToCommit(array $paths)
| parameters | array | $paths | |
| return | wild | | |
This method is not documented.
public amendCommit($message = null)
| parameters | wild | $message | |
| return | wild | | |
This method is not documented.
public backoutCommit($commit_hash)
| parameters | wild | $commit_hash | |
| return | wild | | |
This method is not documented.
protected buildBaseCommit($symbolic_commit)
| parameters | wild | $symbolic_commit | |
| return | wild | | |
This method is not documented.
protected buildCommitRangeStatus()
This method is not documented.
protected buildLocalFuture(array $argv)
| parameters | array | $argv | |
| return | wild | | |
This method is not documented.
protected buildUncommittedStatus()
This method is not documented.
public canStashChanges()
This method is not documented.
public doCommit($message)
| parameters | wild | $message | |
| return | wild | | |
This method is not documented.
private executeSVNFindRev($input, $vcs)
| parameters | wild | $input | |
| wild | $vcs | |
| return | wild | | |
This method is not documented.
public list<dict<string, getAllBranches()
| return | list<dict<string, | | string>> Dictionary of branch information. |
Returns names of all the branches in the current repository.
public getAllFiles()
This method is not documented.
public getAllLocalChanges()
This method is not documented.
public getAuthor()
This method is not documented.
public getBackoutMessage($commit_hash)
| parameters | wild | $commit_hash | |
| return | wild | | |
This method is not documented.
public getBlame($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
public getBranchName()
This method is not documented.
public getCanonicalRevisionName($string)
| parameters | wild | $string | |
| return | wild | | |
This method is not documented.
public getChangedFiles($since_commit)
| parameters | wild | $since_commit | |
| return | wild | | |
This method is not documented.
public getCommitMessage($commit)
| parameters | wild | $commit | |
| return | wild | | |
This method is not documented.
public getCommitSummary($commit)
| parameters | wild | $commit | |
| return | wild | | |
This method is not documented.
public getCurrentFileData($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
private getDiffBaseOptions()
This method is not documented.
private getDiffFullOptions($detect_moves_and_renames = true)
| parameters | wild | $detect_moves_and_renames | |
| return | wild | | |
This method is not documented.
private getFileDataAtRevision($path, $revision)
| parameters | wild | $path | |
| wild | $revision | |
| return | wild | | |
This method is not documented.
public getFinalizedRevisionMessage()
This method is not documented.
public getFullGitDiff()
This method is not documented.
public getGitCommitLog()
This method is not documented.
public getGitConfig($key, $default = null)
| parameters | wild | $key | |
| wild | $default | |
| return | wild | | |
This method is not documented.
public getGitHistoryLog()
This method is not documented.
public getHasCommits()
This method is not documented.
public getHashFromFromSVNRevisionNumber($revision_id)
| parameters | wild | $revision_id | |
| return | wild | | |
This method is not documented.
public getLocalCommitInformation()
This method is not documented.
public getMetadataPath()
This method is not documented.
public getOriginalFileData($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
public getPreReceiveHookStatus($old_ref, $new_ref)
| parameters | wild | $old_ref | |
| wild | $new_ref | |
| return | wild | | |
This method is not documented.
public getRawDiffText($path, $detect_moves_and_renames = true)
| parameters | string | $path | Path to generate a diff for. |
| bool | $detect_moves_and_renames | If true, detect moves and renames. Otherwise, ignore moves/renames; this is useful because it prompts git to generate real diff text. |
| return | wild | | |
This method is not documented.
public getSVNRevisionNumberFromHash($hash)
| parameters | wild | $hash | |
| return | wild | | |
This method is not documented.
public getSourceControlBaseRevision()
This method is not documented.
public getSourceControlPath()
This method is not documented.
public getSourceControlSystemName()
This method is not documented.
public getUnderlyingWorkingCopyRevision()
This method is not documented.
public getWorkingCopyRevision()
This method is not documented.
public hasLocalCommit($commit)
| parameters | wild | $commit | |
| return | wild | | |
This method is not documented.
public isGitSubversionRepo()
This method is not documented.
public isHistoryDefaultImmutable()
This method is not documented.
public loadWorkingCopyDifferentialRevisions(ConduitClient $conduit, array $query)
| parameters | ConduitClient | $conduit | |
| array | $query | |
| return | wild | | |
This method is not documented.
public static newHookAPI($root)
| parameters | wild | $root | |
| return | wild | | |
This method is not documented.
private parseGitStatus($status, $full = false)
| parameters | wild | $status | |
| wild | $full | |
| return | wild | | |
This method is not documented.
private parseGitTree($stdout)
| parameters | wild | $stdout | |
| return | wild | | |
This method is not documented.
public performLocalBranchMerge($branch, $message)
| parameters | wild | $branch | |
| wild | $message | |
| return | wild | | |
This method is not documented.
public resolveBaseCommitRule($rule, $source)
| parameters | wild | $rule | |
| wild | $source | |
| return | wild | | |
This method is not documented.
public stashChanges()
This method is not documented.
public supportsAmend()
This method is not documented.
public supportsCommitRanges()
This method is not documented.
public supportsLocalBranchMerge()
This method is not documented.
public supportsLocalCommits()
This method is not documented.
public unstashChanges()
This method is not documented.
public updateWorkingCopy()
This method is not documented.