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

Method all_coord_keys

nodedb/src/engine/array/memtable/tile_buffer.rs:49–51  ·  view source on GitHub ↗

Iterate over all raw coord keys stored in this tile version.

(&self)

Source from the content-addressed store, hash-verified

47impl TileBuffer {
48 /// Iterate over all raw coord keys stored in this tile version.
49 pub fn all_coord_keys(&self) -> impl Iterator<Item = &[u8]> {
50 self.entries.keys().map(|k| k.as_slice())
51 }
52
53 fn encode_coord(coord: &Vec<CoordValue>) -> ArrayResult<Vec<u8>> {
54 zerompk::to_msgpack_vec(coord).map_err(|e| {

Callers 1

scan_tiles_atMethod · 0.80

Calls 1

as_sliceMethod · 0.45

Tested by

no test coverage detected