def chunk_head_key

mylsm-lsm-store@0.6.0.1 · src/Sstable.bend:62

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

62# Handle the chunk head key for the SSTable indexes, filters, and lookup.
63def chunk_head_key(+xs: List<&2, MemTable.Entry>) -> Maybe<&2, String>:
64  match xs:
65    case Nil{}:
66      None{}
67    case Con{MemTable.Entry{key, val}, t}:
68      Some{key}

Uses (4)

Used by (1)