class documentation

Undocumented

Method __init__ Undocumented
Method __iter__ Undocumented
Instance Variable have Undocumented
Instance Variable sent_capabilities Undocumented
Instance Variable want Undocumented
Method _handle_receive_pack_head Handle the head of a 'git-receive-pack' request.
Instance Variable _it Undocumented
def __init__(self, capabilities: Sequence[bytes], old_refs: Mapping[Ref, ObjectID], new_refs: Mapping[Ref, ObjectID], push_options: Sequence[bytes] | None = None):

Undocumented

def __iter__(self) -> Iterator[bytes | None]:

Undocumented

have: set[ObjectID] =

Undocumented

sent_capabilities: bool =

Undocumented

want: set[ObjectID] =

Undocumented

def _handle_receive_pack_head(self, capabilities: Sequence[bytes], old_refs: Mapping[Ref, ObjectID], new_refs: Mapping[Ref, ObjectID], push_options: Sequence[bytes] | None = None) -> Iterator[bytes | None]:

Handle the head of a 'git-receive-pack' request.

Parameters
capabilities:Sequence[bytes]List of negotiated capabilities
old_refs:Mapping[Ref, ObjectID]Old refs, as received from the server
new_refs:Mapping[Ref, ObjectID]Refs to change
push_options:Sequence[bytes] | NoneOptional list of push options to send to the server
Returns
Iterator[bytes | None](have, want) tuple
_it =

Undocumented