def Utf8.backup_to

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

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

2535def Utf8.backup_to(
2536  path: String,
2537  handle: Utf8.Handle
2538) -> IO(Utf8.Handle & Result<&1, &1, Utf8.Error, Unit>):
2539  match handle:
2540    case Utf8Handle{inner}:
2541      do IO<Utf8.Handle & Result<&1, &1, Utf8.Error, Unit>>:
2542        pair : Bytes.Handle & Result<&1, &1, Bytes.Error, Unit> <-
2543          Bytes.backup_to(path, inner)
2544        return Utf8.backup_to.started(pair)

Uses (13)

Used by (0)

No other definition uses this definition.