GitRef
class GitRef extends AbstractObject implements IdAble
A git ref (tag, branch, or commit).
Properties
$lastQuery | from AbstractObject |
Methods
from
AbstractObject
null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
from
AbstractObject
string
commit()
The resolved commit id at this ref.
id()
A unique identifier for this GitRef.
string
ref()
The resolved ref name at this ref.
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
string
commit()
The resolved commit id at this ref.
at line 28
AbstractId
id()
A unique identifier for this GitRef.
at line 37
string
ref()
The resolved ref name at this ref.
at line 46
Directory
tree(bool|null $discardGitDir = false, int|null $depth = 1)
The filesystem tree at this ref.