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

Function make_entry

nodedb-spatial/src/persist.rs:305–310  ·  view source on GitHub ↗
(id: u64, lng: f64, lat: f64)

Source from the content-addressed store, hash-verified

303 use super::*;
304
305 fn make_entry(id: u64, lng: f64, lat: f64) -> RTreeEntry {
306 RTreeEntry {
307 id,
308 bbox: BoundingBox::from_point(lng, lat),
309 }
310 }
311
312 #[test]
313 fn checkpoint_roundtrip_empty() {

Calls

no outgoing calls