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

Function _push_transfer_progress_cb

pygit2/callbacks.py:648–654  ·  view source on GitHub ↗
(current, total, bytes_pushed, payload)

Source from the content-addressed store, hash-verified

646
647@libgit2_callback
648def _push_transfer_progress_cb(current, total, bytes_pushed, payload):
649 push_transfer_progress = getattr(payload, 'push_transfer_progress', None)
650 if not push_transfer_progress:
651 return 0
652
653 push_transfer_progress(current, total, bytes_pushed)
654 return 0
655
656
657@libgit2_callback

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…