MCPcopy Create free account
hub / github.com/libgit2/pygit2 / push_negotiation

Method push_negotiation

test/test_remote.py:467–469  ·  view source on GitHub ↗
(self, updates: list[PushUpdate])

Source from the content-addressed store, hash-verified

465
466 class MyCallbacks(pygit2.RemoteCallbacks):
467 def push_negotiation(self, updates: list[PushUpdate]) -> None:
468 if reject_from == 'push_negotiation':
469 raise InterruptedError(reject_message)
470
471 def push_transfer_progress(
472 self, objects_pushed: int, total_objects: int, bytes_pushed: int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected