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

Function digest

atomic-canonical/src/review_work.rs:125–127  ·  view source on GitHub ↗
(value: &impl Serialize)

Source from the content-addressed store, hash-verified

123}
124
125pub fn digest(value: &impl Serialize) -> String {
126 crate::hash::content_hash(&serde_json::to_value(value).expect("serializable review evidence"))
127}
128
129// Require whole evidence tokens. Do not match src/a.rs inside other/src/a.rs,
130// or use arbitrary task-path overlap as a criterion verdict.

Callers 2

for_intentMethod · 0.70
constructMethod · 0.70

Calls 1

content_hashFunction · 0.85

Tested by

no test coverage detected