def owner.snapshot.open

mylsm-lsm-store@0.6.0.1 · src/scan/Snapshot.bend:529

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

529def owner.snapshot.open(
530  owner: OwnerRegistry,
531  generation: Nat,
532  requested_bytes: Nat,
533  limits: Nat & Nat
534) -> OwnerOpenDecision:
535  match owner:
536    case OwnerRegistry{allocator, reservations, snapshots, cursors}:
537      owner.snapshot.open.available(allocator, reservations, snapshots,
538        cursors,
539        generation, nat.duplicate(requested_bytes), limits)

Uses (6)

Used by (0)

No other definition uses this definition.