JGithubCommits
class JGithubCommits extends JGithubObject
GitHub API Commits class for the Joomla Platform.
Methods
Method to create a commit.
Method to create a comment on a commit.
Method to delete a comment on a commit.
Method to edit a comment on a commit.
Method to get a single commit for a repository.
Method to get a single comment on a commit.
Method to get a list of comments for a single commit for a repository.
Method to get a diff for two commits.
Method to list commits for a repository.
Method to get a list of commit comments for a repository.
Details
object
create(
string $user,
string $repo,
string $message,
string $tree,
array $parents = array())
Method to create a commit.
object
createCommitComment(
string $user,
string $repo,
string $sha,
string $comment,
integer $line,
string $filepath,
integer $position)
Method to create a comment on a commit.
object
deleteCommitComment(
string $user,
string $repo,
string $id)
Method to delete a comment on a commit.
object
editCommitComment(
string $user,
string $repo,
string $id,
string $comment)
Method to edit a comment on a commit.
array
getCommit(
string $user,
string $repo,
string $sha,
integer $page,
integer $limit)
Method to get a single commit for a repository.
array
getCommitComment(
string $user,
string $repo,
integer $id)
Method to get a single comment on a commit.
array
getCommitComments(
string $user,
string $repo,
string $sha,
integer $page,
integer $limit)
Method to get a list of comments for a single commit for a repository.
array
getDiff(
string $user,
string $repo,
string $base,
string $head)
Method to get a diff for two commits.