ByteManifestIo.read.path.opened: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/ByteManifestIo.bend as ByteManifestIo Lines 76-86 of mylsm-lsm-store@0.6.0.1/src/ByteManifestIo.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifestIo.bend&start_line=76&end_line=86 import Base import mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend as Manifest import mylsm-lsm-store@0.6.0.1/src/Fs.bend as Fs def read.path.opened( path: String, opened: Result<&1, &1, U32 & String, File> ) -> IO(Result<&1, &1, Error, Manifest.ManifestValue>): match opened: case Fail{error}: read.host(error) case Done{file}: do IO>: size : Result<&1, &1, U32 & String, Nat> <- Fs.file_size(path) read.size.result(file, size) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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/ByteManifestIo.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifestIo.bend&name=read.host https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifestIo.bend&name=read.size.result https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Fs.bend&name=file_size