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

Function not_a_map

nodedb-query/src/msgpack_scan/index.rs:188–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186
187 #[test]
188 fn not_a_map() {
189 let buf = encode(&json!([1, 2, 3]));
190 assert!(FieldIndex::build(&buf, 0).is_none());
191 }
192
193 #[test]
194 fn indexed_vs_sequential_same_result() {

Callers

nothing calls this directly

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected