Skip to main content

attest

Function attest 

Source
pub fn attest(repo: &Path, command: &str) -> Result<Attestation>
Expand description

Run command in repo, write an Attestation naming the current HEAD to repo/ATTESTATION_PATH, and commit it on top. Returns the attestation.

Writes regardless of the command’s exit code — this forces a run, not a pass.