def Utf8.snapshot.range.opened

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

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

2426def Utf8.snapshot.range.opened(
2427  pair: Bytes.Snapshot & Result<&1, &1, Bytes.Error, Bytes.Cursor>
2428) -> Utf8.Snapshot & Result<&1, &1, Utf8.Error, Utf8.Cursor>:
2429  match pair:
2430    case (snapshot, Fail{error}): (Utf8Snapshot{snapshot}, Fail{Utf8Failure{error}})
2431    case (snapshot, Done{cursor}):
2432      (Utf8Snapshot{snapshot}, Done{Utf8Cursor{cursor, Utf8CursorActive{}}})

Uses (10)

Used by (2)