Function map_repositories

Source
pub fn map_repositories<F>(
    repositories: &[Repository],
    threads: usize,
    f: F,
) -> Result<()>
where F: Fn(&Repository, &ProgressBar) -> Result<()> + Sync,
Expand description

Take any number of repositories and apply f on each one. This method takes care of displaying progress bars and displaying any errors that may arise.