ManifestIo.ensure_dir: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/legacy/ManifestIo.bend as ManifestIo Lines 254-258 of mylsm-lsm-store@0.6.0.1/src/legacy/ManifestIo.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/legacy/ManifestIo.bend&start_line=254&end_line=258 import Base import mylsm-lsm-store@0.6.0.1/src/Fs.bend as Fs # Handle ensure dir in the memtable flush. def ensure_dir(+path: String) -> IO(Result<&1, &1, U32 & String, Unit>): do IO>: r : Result<&1, &1, U32 & String, Nat> <- Fs.read_dir_count(path) dir_tail(r, path) Uses (10): 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=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Fs.bend&name=read_dir_count https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/legacy/ManifestIo.bend&name=dir_tail