MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / identical_objects_no_diffs

Function identical_objects_no_diffs

nodedb/src/event/field_diff.rs:351–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349
350 #[test]
351 fn identical_objects_no_diffs() {
352 let v = json!({"title": "Hello", "count": 42});
353 let diffs = compute_field_diffs(&v, &v);
354 assert!(diffs.is_empty());
355 }
356
357 #[test]
358 fn scalar_field_modified() {

Callers

nothing calls this directly

Calls 1

compute_field_diffsFunction · 0.85

Tested by

no test coverage detected