cargo::sources::git::utils

Function fetch_with_libgit2

Source
fn fetch_with_libgit2(
    repo: &mut Repository,
    remote_url: &str,
    refspecs: Vec<String>,
    tags: bool,
    shallow: Shallow,
    gctx: &GlobalContext,
) -> CargoResult<()>