GitHistoryReader class abstract interface Getting started Compatibility

Walks the commit graph 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

isAncestor(GitOid ancestor, GitOid descendant) → Future<bool>
Whether ancestor is an ancestor of descendant.
mergeBase(GitOid first, GitOid second) → Future<GitOid?>
Best common ancestor of first and second, or null when they share none — two unrelated root commits, for instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited