Type Alias git2::IndexerProgress
source · pub type IndexerProgress<'a> = dyn FnMut(Progress<'_>) -> bool + 'a;
Expand description
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.