pub fn get_full_status_reporting(
registry: &Registry,
progress: &(dyn Fn(usize, usize) + Sync),
) -> Vec<RepoStatusEntry>Expand description
get_full_status, reporting each repository as it finishes.
The scan is dominated by collect_bloat, which walks and sizes every dependency tree
it finds; on a registry of eighty repositories that was half a minute of silence
before anything appeared. The callback is what lets devp status draw a progress bar
over it instead — a dashboard that looks hung is one people kill before it renders.
The callback is invoked from several threads at once, and its first argument is the number of repositories finished, not the index of this one: workers finish out of order.