Sstable.metadata: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstable Lines 371-377 of mylsm-lsm-store@0.6.0.1/src/Sstable.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/Sstable.bend&start_line=371&end_line=377 import Base import mylsm-lsm-store@0.6.0.1/src/MemTable.bend as MemTable # Handle metadata in the SSTable indexes, filters, and lookup. def metadata(entries: List<&2, MemTable.Entry>) -> Metadata: match entries: case Nil{}: Meta{None{}, None{}, 0n} case Con{MemTable.Entry{+key, val}, rest}: metadata_tail(rest, key, key, 1n) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/MemTable.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Sstable.bend&name=Metadata https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Sstable.bend&name=metadata_tail