[][src]Type Definition git2::TransferProgress

type TransferProgress<'a> = dyn FnMut(Progress) -> bool + 'a;

Callback to be invoked while a transfer is in progress.

This callback will be periodically called with updates to the progress of the transfer so far. The return value indicates whether the transfer should continue. A return value of false will cancel the transfer.

  • progress - the progress being made so far.