def create
import mylsm-lsm-store@0.6.0.1/src/ByteWalIo.bend as ByteWalIoimport Base
470# Creates and durably publishes an empty generation-four byte WAL.
471def create(+path: String) -> IO(Result<&1, &1, U32 & String, Unit>):
472 do IO<Result<&1, &1, U32 & String, Unit>>:
473 opened : Result<&1, &1, U32 & String, File> <- File.open(path, "w")
474 create.opened(opened, path)