[][src]Function git_protocol::fetch::fetch

pub fn fetch<F>(
    transport: impl Transport,
    delegate: &mut impl Delegate,
    authenticate: F,
    progress: impl Progress
) -> Result<(), Error> where
    F: FnMut(Action<'_>) -> Result

Note that depending on the delegate, the actual action peformed can be ls-refs, clone or fetch.