SstFile.stream.blocks.header.result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/SstFile.bend as SstFile Lines 1660-1670 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=1660&end_line=1670 import Base # Drops the legacy materialized-entry field when opening a block reader. def stream.blocks.header.result( result: Result<&1, &1, Error, StreamState> ) -> Result<&1, &1, Error, BlockStreamState>: match result: case Fail{error}: Fail{error} case Done{StreamState{level, total, block_count, remaining, entries_left, previous, _, hashes}}: Done{BlockStreamState{level, total, block_count, remaining, entries_left, previous, hashes}} Uses (4): 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=BlockStreamState https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=StreamState