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

Class MyCallbacks

test/test_remote.py:298–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296
297def test_transfer_progress(emptyrepo: Repository) -> None:
298 class MyCallbacks(pygit2.RemoteCallbacks):
299 def transfer_progress(self, stats: TransferProgress) -> None:
300 self.tp = stats
301
302 callbacks = MyCallbacks()
303 remote = emptyrepo.remotes[0]

Callers 6

test_transfer_progressFunction · 0.70
test_update_tipsFunction · 0.70
test_push_negotiationFunction · 0.70

Calls

no outgoing calls

Tested by 6

test_transfer_progressFunction · 0.56
test_update_tipsFunction · 0.56
test_push_negotiationFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…