def write.finish.chmod

mylsm-lsm-store@0.6.0.1 · src/SstStreamIo.bend:458

import mylsm-lsm-store@0.6.0.1/src/SstStreamIo.bend as SstStreamIo
import Base

458def write.finish.chmod(
459  result: Result<&1, &1, U32 & String, Unit>
460) -> IO(Result<&1, &1, U32 & String, Unit>):
461  match result:
462    case Fail{error}:
463      IO.pure(Result<&1, &1, U32 & String, Unit>, Fail{error})
464    case Done{Unit{}}:
465      IO.pure(Result<&1, &1, U32 & String, Unit>, Done{Unit{}})

Uses (7)

Used by (1)