FormatInspect.inspect.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 111-115 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=111&end_line=115 import Base import mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend as ByteManifest import mylsm-lsm-store@0.6.0.1/src/Manifest.bend as LegacyManifest import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def inspect.result(format: StorageFormat, bytes: Bytes.Bytes) -> Integrity: match format: case Format04{}: inspect.legacy.result(LegacyManifest.parse_result(bytes)) case Format06{}: inspect.current.result(ByteManifest.decode(bytes)) case UnknownFormat{}: UnrecognizedFormat{} Uses (7): https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend&name=decode https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Manifest.bend&name=parse_result https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend&name=Integrity https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend&name=StorageFormat https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend&name=inspect.current.result https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend&name=inspect.legacy.result