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

Function hash_changes_with_content

atomic-canonical/src/hash.rs:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35 #[test]
36 fn hash_changes_with_content() {
37 let a = json!({ "status": "backlog" });
38 let b = json!({ "status": "done" });
39 assert_ne!(content_hash(&a), content_hash(&b));
40 }
41}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected