pub async fn bundle_at(
cwd: &Path,
folder: &Path,
sha: Sha,
spec: &str,
) -> Result<PathBuf, GitError>Expand description
Path-only variant of bundle for callers that cannot hold a
&Repository across .await (the protocol push handler shares
state across tokio tasks; gix::Repository is !Sync, so its
future would not be Send).
ยงErrors
Returns GitError::Bundle if the spec cannot be resolved, the
commit graph cannot be walked, or the bundle file cannot be written.
Returns GitError::Panic if the blocking task panics.