class documentation

class GraphWalker(Protocol):

View In Hierarchy

Protocol for graph walker objects.

Method __next__ Return the next object SHA to visit.
Method ack Acknowledge that an object has been received.
Method nak Nothing in common was found.
def __next__(self) -> ObjectID | None:

Return the next object SHA to visit.

def ack(self, sha: ObjectID):

Acknowledge that an object has been received.

def nak(self):

Nothing in common was found.