class documentation
class _v1ReceivePackHeader:
Constructor: _v1ReceivePackHeader(capabilities, old_refs, new_refs, push_options)
Undocumented
| Method | __init__ |
Undocumented |
| Method | __iter__ |
Undocumented |
| Instance Variable | have |
Undocumented |
| Instance Variable | sent |
Undocumented |
| Instance Variable | want |
Undocumented |
| Method | _handle |
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 _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[ | List of negotiated capabilities |
oldMapping[ | Old refs, as received from the server |
newMapping[ | Refs to change |
pushSequence[ | Optional list of push options to send to the server |
| Returns | |
Iterator[ | (have, want) tuple |