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

Method push_transfer_progress

test/test_remote.py:435–439  ·  view source on GitHub ↗
(
            self, objects_pushed: int, total_objects: int, bytes_pushed: int
        )

Source from the content-addressed store, hash-verified

433 # to a remote over the network, the value is correct.)
434 class MyCallbacks(pygit2.RemoteCallbacks):
435 def push_transfer_progress(
436 self, objects_pushed: int, total_objects: int, bytes_pushed: int
437 ) -> None:
438 self.objects_pushed = objects_pushed
439 self.total_objects = total_objects
440
441 assert origin.branches['master'].target == tip.id
442

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected