Skip to main content

recheck_commit

Function recheck_commit 

Source
pub fn recheck_commit(
    repo: &Path,
    work: &Path,
    artifact: &str,
    spec_commit: &str,
    checked: &[String],
) -> Result<LockedPathsV1, GateError>
Expand description

The check before verify (E48): the judged commit artifact against spec_commit, commit to commit (the verifier has no handed-in worktree), in a private copy fetched from repo into the Instance’s G6 directory work, so repo’s config, replace refs and attributes cannot hide a change. Nothing runs here, so no cargo config matters. The same kinds as on submit, except untracked (only a worktree has it) and outside_repo (a changed link text is modified).