def stream.blocks.footer.result

mylsm-lsm-store@0.6.0.1 · src/SstFile.bend:1247

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

1247# Projects successful footer validation to a unit result.
1248def stream.blocks.footer.result(
1249  result: Result<&1, &1, Error, Sstable.Table>
1250) -> Result<&1, &1, Error, Unit>:
1251  match result:
1252    case Fail{error}:
1253      Fail{error}
1254    case Done{_}:
1255      Done{Unit{}}

Uses (4)

Used by (1)