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

Method transfer_progress

pygit2/callbacks.py:210–221  ·  view source on GitHub ↗

During the download of new data, this will be regularly called with the indexer's progress. Override with your own function to report transfer progress. Parameters: stats : TransferProgress The progress up to now.

(self, stats: 'TransferProgress')

Source from the content-addressed store, hash-verified

208 """
209
210 def transfer_progress(self, stats: 'TransferProgress') -> None:
211 """
212 During the download of new data, this will be regularly called with
213 the indexer's progress.
214
215 Override with your own function to report transfer progress.
216
217 Parameters:
218
219 stats : TransferProgress
220 The progress up to now.
221 """
222
223 def push_transfer_progress(
224 self, objects_pushed: int, total_objects: int, bytes_pushed: int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected