Skip to main content

unbundle_at

Function unbundle_at 

Source
pub async fn unbundle_at(
    cwd: &Path,
    folder: &Path,
    sha: Sha,
) -> Result<(), GitError>
Expand description

Path-only variant of unbundle for callers that cannot hold a &Repository across .await (notably the parallel fetch handler: gix::Repository is !Sync, so it cannot be shared across concurrent tasks).

ยงErrors

Returns GitError::Bundle if the bundle file is malformed, prerequisite objects are missing, or the pack cannot be installed. Returns GitError::Panic if the blocking task panics.