:param progress:
Can take one of many value types:
* None to discard progress information
* A function (callable) that is called with the progress information.
Signature: ``progress(op_code, cur_count, max_count=None, message='')``.
* An instance of a class derived from ``git.RemoteProgress`` that
overrides the ``update()`` function.
该GitPython source code包括:
在^{} 中定义了进度
您可以看到progress function here或here的示例
相关问题 更多 >
编程相关推荐