pub fn do_mirror( provider: &Box<dyn Provider>, mirror_dir: &str, opts: &MirrorOptions) -> Result<(), String>