Skip to main content

acquire_pinned_model

Function acquire_pinned_model 

Source
pub async fn acquire_pinned_model(
    worktree_path: &Path,
    commit: Oid,
) -> Result<Arc<PinnedModelArtifact>>
Expand description

Admit only the selected, clean checkout of commit, then capture the requested Git tree independently of worktree bytes. The second checkout observation enforces the dirty policy during acquisition; the Git object capture and private disk projection, not these observations, prove loader bytes.