CommitsClient
class CommitsClient
Traits
Properties
protected | $curl | from CICommon | |
protected | $api_url | from CICommon |
Methods
mixed
list(string $repo_full_name, string $sha, string $path, string $author, string $since, string $until)
List commits on a repository.
mixed
get(string $repo_full_name, string $sha)
Get a single commit.
mixed
getShaOfRef(string $repo_full_name, string $ref)
Get the SHA-1 of a commit reference.
mixed
compare(string $repo_full_name, string $base, string $head)
Compare two commits.
mixed
SignatureVerification(string $repo_full_name, string $sha)
Commit signature verification.
Details
in CICommon at line 18
__construct(Curl $curl, string $api_url)
CICommon constructor.
at line 20
mixed
list(string $repo_full_name, string $sha, string $path, string $author, string $since, string $until)
List commits on a repository.
at line 47
mixed
get(string $repo_full_name, string $sha)
Get a single commit.
at line 61
mixed
getShaOfRef(string $repo_full_name, string $ref)
Get the SHA-1 of a commit reference.
at line 75
mixed
compare(string $repo_full_name, string $base, string $head)
Compare two commits.
at line 89
mixed
SignatureVerification(string $repo_full_name, string $sha)
Commit signature verification.