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

Function storage_key_format

nodedb-spatial/src/persist.rs:376–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

374
375 #[test]
376 fn storage_key_format() {
377 let key = rtree_storage_key("buildings", "geom");
378 assert_eq!(key, b"buildings\0geom\0rtree");
379
380 let meta_key = meta_storage_key("buildings", "geom");
381 assert_eq!(meta_key, b"buildings\0geom\0meta");
382 }
383
384 #[test]
385 fn checkpoint_size_reasonable() {

Callers

nothing calls this directly

Calls 2

rtree_storage_keyFunction · 0.85
meta_storage_keyFunction · 0.85

Tested by

no test coverage detected