def Bytes.create

mylsm-lsm-store@0.6.0.1 · mylsm.bend:472

import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as RawByteDb

472def Bytes.create(+path: String) -> IO(Result<&1, &1, Bytes.Error, Bytes.Handle>):
473  do IO<Result<&1, &1, Bytes.Error, Bytes.Handle>>:
474    opened : Result<&1, &1, RawByteDb.Error, RawByteDb.Handle> <-
475      RawByteDb.create(path)
476    Bytes.owner.candidate(path, opened)

Uses (10)

Used by (2)