JGithubCommits::getDiff
Method to get a diff for two commits.
Signature
public function getDiff(string
$user,
string
$repo,
string
$base,
string
$head )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$base
- The base of the diff, either a commit SHA or branch.
-
$head
- The head of the diff, either a commit SHA or branch.
Returns
- array