Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ missing_field
Function
missing_field
nodedb-query/src/msgpack_scan/index.rs:145–149 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
143
144
#[test]
145
fn missing_field() {
146
let buf = encode(&json!({
"x"
: 1}));
147
let idx = FieldIndex::build(&buf, 0).unwrap();
148
assert!(idx.get(
"y"
).is_none());
149
}
150
151
#[test]
152
fn empty_map() {
Callers
nothing calls this directly
Calls
1
encode
Function · 0.70
Tested by
no test coverage detected