def verify_legacy_source

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

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

951# Validates the locked legacy view and returns its aggregate measurements.
952def verify_legacy_source(
953  +path: String
954) -> IO(Result<&1, &1, Error, SourceCounts>):
955  do IO<Result<&1, &1, Error, SourceCounts>>:
956    snapshot : Result<&1, &1, Error, SourceSnapshot> <- read_legacy_source(path)
957    return source.counts(snapshot)

Uses (10)

Used by (0)

No other definition uses this definition.