Function gitoxide_core::pack::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: Progress,
P::SubProgress: 'static,
Available on crate feature
blocking-client
and (crate features async-client
or blocking-client
) only.