GitRefReader class abstract interface Getting started Compatibility
Read access to the references of one repository.
This is a capability contract: a backend implements it only when it can honour every operation.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
listRefs(
{String? prefix}) → Future< List< GitRef> > -
Every reference whose full name starts with
prefix, ordered by full name. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveRef(
String refName) → Future< GitOid?> -
Resolves the exact reference
refNameto the object it points at. -
symbolicTarget(
String refName) → Future< String?> -
Target of the symbolic reference
refName, e.g.refs/heads/mainforHEAD. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited