def ensure_dir

mylsm-lsm-store@0.6.0.1 · src/legacy/ManifestIo.bend:254

import mylsm-lsm-store@0.6.0.1/src/legacy/ManifestIo.bend as ManifestIo
import Base
import mylsm-lsm-store@0.6.0.1/src/Fs.bend as Fs

254# Handle ensure dir in the memtable flush.
255def ensure_dir(+path: String) -> IO(Result<&1, &1, U32 & String, Unit>):
256  do IO<Result<&1, &1, U32 & String, Unit>>:
257    r : Result<&1, &1, U32 & String, Nat> <- Fs.read_dir_count(path)
258    dir_tail(r, path)

Uses (10)

Used by (0)

No other definition uses this definition.