def wal.classify

mylsm-lsm-store@0.6.0.1 · src/transfer/MigrateIo.bend:532

import mylsm-lsm-store@0.6.0.1/src/transfer/MigrateIo.bend as MigrateIo
import Base
import mylsm-lsm-store@0.6.0.1/src/transfer/LegacyWal.bend as LegacyWal

532def wal.classify(result: LegacyWal.VerifyResult) -> Result<&1, &1, Error, Nat>:
533  match result:
534    case LegacyWal.WalValid{frames}: Done{frames}
535    case LegacyWal.WalInvalid{}: Fail{InvalidLegacyWal{}}

Uses (4)

Used by (1)