[][src]Type Definition git2::IndexerProgress

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

Callback to be invoked while indexing is in progress.

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

  • progress - the progress being made so far.