def legacy.snapshot.table

mylsm-lsm-store@0.6.0.1 · src/transfer/Migrate.bend:212

import mylsm-lsm-store@0.6.0.1/src/transfer/Migrate.bend as Migrate
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import mylsm-lsm-store@0.6.0.1/src/MemTable.bend as MemTable
import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Wal

212def legacy.snapshot.table(
213  sst_newest_first: List<&2, MemTable.Entry>,
214  wal_batches: List<&2, Wal.Batch>
215) -> Result<&1, &1, U32 & String, ByteMemTable.Table>:
216  legacy.apply.chronological(
217    legacy.sources.chronological(sst_newest_first, wal_batches),
218    ByteMemTable.empty())

Uses (11)

Used by (1)