def block_keys

mylsm-lsm-store@0.3.2.0 · src/Sstable.bend:65

import mylsm-lsm-store@0.3.2.0/src/Sstable.bend as Sstable
import Base
import mylsm-lsm-store@0.3.2.0/src/MemTable.bend as MemTable

65def block_keys(+chunks: List<&2, List<&2, MemTable.Entry>>, acc: List<&2, String>) -> List<&2, String>:
66  match chunks:
67    case Nil{}:
68      List.reverse(&2, String, acc)
69    case Con{c, t}:
70      block_keys(t, block_cons_acc(chunk_head_key(c), acc))

Uses (6)

Used by (2)