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

Function write_kv_bool

nodedb-query/src/msgpack_scan/writer.rs:141–144  ·  view source on GitHub ↗
(buf: &mut Vec<u8>, key: &str, value: bool)

Source from the content-addressed store, hash-verified

139/// Write a key-value pair (string key, bool value).
140#[inline]
141pub fn write_kv_bool(buf: &mut Vec<u8>, key: &str, value: bool) {
142 write_str(buf, key);
143 write_bool(buf, value);
144}
145
146/// Write a key-value pair (string key, raw msgpack value bytes).
147///

Callers

nothing calls this directly

Calls 2

write_boolFunction · 0.85
write_strFunction · 0.70

Tested by

no test coverage detected