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

Function _transfer_progress_cb

pygit2/callbacks.py:636–644  ·  view source on GitHub ↗
(stats_ptr, data)

Source from the content-addressed store, hash-verified

634
635@libgit2_callback
636def _transfer_progress_cb(stats_ptr, data):
637 from .remotes import TransferProgress
638
639 transfer_progress = getattr(data, 'transfer_progress', None)
640 if not transfer_progress:
641 return 0
642
643 transfer_progress(TransferProgress(stats_ptr))
644 return 0
645
646
647@libgit2_callback

Callers

nothing calls this directly

Calls 1

TransferProgressClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…