docs/static/reference/php/Dagger/GitRepository.html
class GitRepository extends AbstractObject implements IdAble
A git repository.
| | $lastQuery | | from AbstractObject |
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
from AbstractObject
null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
from AbstractObject
branch(string $name)
Returns details of a branch.
array
branches(array|null $patterns = null)
branches that match any of the given glob patterns.
commit(string $id)
Returns details of a commit.
head()
Returns details for HEAD.
id()
A unique identifier for this GitRepository.
Returns details for the latest semver tag.
ref(string $name)
Returns details of a ref.
tag(string $name)
Returns details of a tag.
array
tags(array|null $patterns = null)
tags that match any of the given glob patterns.
Returns the changeset of uncommitted changes in the git repository.
string
url()
The URL of the git repository.
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain) No description
| AbstractClient | $client | | | QueryBuilderChain | $queryBuilderChain | |
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)No description
| QueryBuilder | $leafQueryBuilder | | | string | $leafKey | |
| null|array|string|int|float|bool | |
GitRef branch(string $name)Returns details of a branch.
| string | $name | |
| GitRef | |
array branches(array|null $patterns = null)branches that match any of the given glob patterns.
| array|null | $patterns | |
| array | |
GitRef commit(string $id)Returns details of a commit.
| string | $id | |
| GitRef | |
GitRef head()Returns details for HEAD.
| GitRef | |
AbstractId id()A unique identifier for this GitRepository.
| AbstractId | |
GitRef latestVersion()Returns details for the latest semver tag.
| GitRef | |
GitRef ref(string $name)Returns details of a ref.
| string | $name | |
| GitRef | |
GitRef tag(string $name)Returns details of a tag.
| string | $name | |
| GitRef | |
array tags(array|null $patterns = null)tags that match any of the given glob patterns.
| array|null | $patterns | |
| array | |
Changeset uncommitted()Returns the changeset of uncommitted changes in the git repository.
| Changeset | |
string url()The URL of the git repository.
| string | |
Generated by Doctum, a API Documentation generator and fork of Sami.