Skip to main content

fetch_all

Function fetch_all 

Source
pub fn fetch_all(
    cwd: &Path,
    tx: &dyn Transport,
    remote: &str,
) -> Result<usize, DispatchError>
Expand description

fetchpull_all without the HEAD update. Downloads every object reachable from each remote ref (via Transport::download_pack on the object’s own digest) and writes the ref into refs/remotes/default/<branch>.