SnapshotValueLengthPolicy.result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/SnapshotValueLengthPolicy.bend as SnapshotValueLengthPolicy Lines 25-33 of mylsm-lsm-store@0.6.0.1/src/coordinator/SnapshotValueLengthPolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/SnapshotValueLengthPolicy.bend&start_line=25&end_line=33 import Base import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal # Handles result. def result( delta: ByteMemTable.LengthProbe, persisted_metadata: ByteWal.ValueMetadata ) -> Decision: match delta: case ByteMemTable.LengthAbsent{}: persisted(persisted_metadata) case ByteMemTable.LengthDeleted{}: Missing{} case ByteMemTable.LengthPresent{value_bytes}: Found{value_bytes} Uses (4): https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend&name=LengthProbe https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteWal.bend&name=ValueMetadata https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/SnapshotValueLengthPolicy.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/SnapshotValueLengthPolicy.bend&name=persisted