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

Function extract_empty_path

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

Source from the content-addressed store, hash-verified

152
153 #[test]
154 fn extract_empty_path() {
155 let buf = encode(&json!({}));
156 assert!(extract_path(&buf, 0, &[]).is_none());
157 }
158
159 #[test]
160 fn extract_from_large_map() {

Callers

nothing calls this directly

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected