Skip to main content

fetch_from_bundle_with_progress

Function fetch_from_bundle_with_progress 

Source
pub fn fetch_from_bundle_with_progress(
    local_git_dir: &Path,
    bundle_path: &Path,
    opts: &FetchOptions,
    progress: &mut dyn Progress,
    cancel: &dyn Cancel,
) -> Result<FetchOutcome>
Expand description

Like fetch_from_bundle, reporting bundle receive and index-pack progress.

The local repository is opened with FetchOptions::environment, so objects land in its GIT_OBJECT_DIRECTORY when that is set.