def batch.commit.handle

mylsm-lsm-store@0.6.0.1 · src/ByteDurableDb.bend:1792

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

1792def batch.commit.handle(
1793  stats: VisibleStats.Stats,
1794  handle: Handle,
1795  result: Result<&1, &1, Error, Unit>
1796) -> Handle & Result<&1, &1, Error, Unit>:
1797  match handle:
1798    case Handle{path, lock, table, state, _}:
1799      (Handle{path, lock, table, state, stats}, result)

Uses (7)

Used by (1)