def create
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDbimport Base
import mylsm-lsm-store@0.6.0.1/src/Fs.bend as Fs
231# Creates a byte database directory, stable lock, and generation-four WAL.
232def create(+path: String) -> IO(Result<&1, &1, Error, Handle>):
233 do IO<Result<&1, &1, Error, Handle>>:
234 reserved : Result<&1, &1, U32 & String, Unit> <- Fs.make_dir(path)
235 create.reserved(path, reserved)