Function gitoxide_core::pack::receive::receive

source ยท
pub fn receive<P, W>(
    protocol: Option<Protocol>,
    url: &str,
    directory: Option<PathBuf>,
    refs_directory: Option<PathBuf>,
    wanted_refs: Vec<BString>,
    progress: P,
    ctx: Context<W>
) -> Result<()>
where W: Write, P: NestedProgress + 'static, P::SubProgress: 'static,
Available on crate feature blocking-client and (crate features async-client or blocking-client) only.