Skip to main content

quarantine_ingest

Function quarantine_ingest 

Source
pub async fn quarantine_ingest(
    repo_dir: &Path,
    pack_bytes: &[u8],
    updates: &[RefUpdateSpec],
) -> Result<Vec<String>, GitError>
Expand description

Ingests pack_bytes into an isolated quarantine object directory, runs strict index-pack, fsck --strict, and object connectivity checks before promoting objects and applying CAS ref updates atomically.