(current, total, bytes_pushed, payload)
| 646 | |
| 647 | @libgit2_callback |
| 648 | def _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 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…