SstFile.parse.records.decision: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/SstFile.bend as SstFile Lines 780-793 of mylsm-lsm-store@0.6.0.1/src/SstFile.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&start_line=780&end_line=793 import Base def parse.records.decision(read: RecordRead) -> RecordDecision: match read: case Record{cursor, Fail{error}, _, _, _, _, _}: Rejected{cursor, error} case Record{cursor, Done{_}, False{}, _, _, _, _}: OutOfBounds{cursor} case Record{cursor, Done{_}, True{}, False{}, _, _, _}: OutOfOrder{cursor} case Record{cursor, Done{_}, True{}, True{}, True{}, False{}, _}: LastMalformed{cursor} case Record{cursor, Done{Rec{entry, _}}, True{}, True{}, True{}, True{}, +key}: LastRecord{cursor, entry, key} case Record{cursor, Done{Rec{entry, +used}}, True{}, True{}, False{}, _, +key}: MoreRecords{cursor, entry, key, used} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=ParsedRecord https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=RecordDecision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=RecordRead