Skip to main content

build_progress_reporter

Function build_progress_reporter 

Source
pub(crate) fn build_progress_reporter(
    mode: ProgressMode,
) -> Box<dyn ProgressReporter>
Expand description

Builds the progress reporter for mode. never is silent; otherwise an interactive bar is used on TTY stderr, falling back to lightweight log progress when stderr is redirected.