FormatInspect.inspect.current.result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend as FormatInspect Lines 100-109 of mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend&start_line=100&end_line=109 import Base import mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend as ByteManifest def inspect.current.result( result: Result<&1, &1, ByteManifest.Error, ByteManifest.ManifestValue> ) -> Integrity: match result: case Done{_}: Valid{} case Fail{ByteManifest.UnsupportedVersion{generation}}: UnsupportedVersion{generation} case Fail{ByteManifest.ComparatorMismatch{generation}}: UnsupportedComparator{generation} case Fail{_}: Corrupt{} 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/ByteManifest.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend&name=ManifestValue https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend&name=Integrity