GitRepository
class GitRepository extends AbstractObject implements IdAble
A git repository.
Properties
$lastQuery | from AbstractObject |
Methods
No description
branches that match any of the given glob patterns.
A unique identifier for this GitRepository.
Returns details for the latest semver tag.
tags that match any of the given glob patterns.
Header to authenticate the remote with.
Token to authenticate the remote with.
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 19
GitRef
branch(string $name)
Returns details of a branch.
at line 29
array
branches(array|null $patterns = null)
branches that match any of the given glob patterns.
at line 41
GitRef
commit(string $id)
Returns details of a commit.
at line 51
GitRef
head()
Returns details for HEAD.
at line 60
AbstractId
id()
A unique identifier for this GitRepository.
at line 69
GitRef
latestVersion()
Returns details for the latest semver tag.
at line 78
GitRef
ref(string $name)
Returns details of a ref.
at line 88
GitRef
tag(string $name)
Returns details of a tag.
at line 98
array
tags(array|null $patterns = null)
tags that match any of the given glob patterns.
at line 110
GitRepository
withAuthHeader(Secret $header)
Header to authenticate the remote with.
at line 120
GitRepository
withAuthToken(Secret $token)
Token to authenticate the remote with.