def read_legacy_source

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

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/Fs.bend as Fs

943# Reads legacy tables and WAL without changing source files.
944def read_legacy_source(
945  +path: String
946) -> IO(Result<&1, &1, Error, SourceSnapshot>):
947  do IO<Result<&1, &1, Error, SourceSnapshot>>:
948    canonical : Result<&1, &1, U32 & String, String> <- Fs.canonical_path(path)
949    source.canonical(canonical)

Uses (10)

Used by (2)