def inspect.current.result
mylsm-lsm-store@0.6.0.1 · src/transfer/FormatInspect.bend:100
import mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend as FormatInspect
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend as ByteManifest
100def inspect.current.result(
101 result: Result<&1, &1, ByteManifest.Error, ByteManifest.ManifestValue>
102) -> Integrity:
103 match result:
104 case Done{_}: Valid{}
105 case Fail{ByteManifest.UnsupportedVersion{generation}}:
106 UnsupportedVersion{generation}
107 case Fail{ByteManifest.ComparatorMismatch{generation}}:
108 UnsupportedComparator{generation}
109 case Fail{_}: Corrupt{}