cargo::sources::git::oxide

Function with_retry_and_progress

source
pub fn with_retry_and_progress(
    repo_path: &Path,
    gctx: &GlobalContext,
    cb: &(dyn Fn(&Path, &AtomicBool, &mut Item, &mut dyn FnMut(&BStr)) -> Result<(), Error> + Send + Sync),
) -> CargoResult<()>
Expand description

For the time being, repo_path makes it easy to instantiate a gitoxide repo just for fetching. In future this may change to be the gitoxide repository itself.