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

Method transfer_progress

test/test_remote.py:299–300  ·  view source on GitHub ↗
(self, stats: TransferProgress)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected