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

Function extract_missing_field

nodedb-query/src/msgpack_scan/field.rs:114–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113 #[test]
114 fn extract_missing_field() {
115 let buf = encode(&json!({"x": 1}));
116 assert!(extract_field(&buf, 0, "y").is_none());
117 }
118
119 #[test]
120 fn extract_multiple_fields() {

Callers

nothing calls this directly

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected