MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / verification

Function verification

atomic-canonical/src/gate.rs:889–899  ·  view source on GitHub ↗

A verification record of the given kind + outcome (other fields fixed; only kind/outcome drive EvidenceShape).

(kind: &str, outcome: &str)

Source from the content-addressed store, hash-verified

887 /// A verification record of the given kind + outcome (other fields fixed;
888 /// only kind/outcome drive EvidenceShape).
889 fn verification(kind: &str, outcome: &str) -> VerificationRecord {
890 VerificationRecord {
891 type_: "VerificationRecord".to_string(),
892 kind: kind.to_string(),
893 outcome: outcome.to_string(),
894 scope: "ac".to_string(),
895 observed_at_merkle: "MERKLE".to_string(),
896 reference: None,
897 observation: None,
898 }
899 }
900
901 /// A met AC that declares `required_kinds` (so it takes the EvidenceShape
902 /// path, not the back-compat verifier/evidence presence check).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected