def write_atomic_at.paths

mylsm-lsm-store@0.6.0.1 · src/ByteSstIo.bend:347

import mylsm-lsm-store@0.6.0.1/src/ByteSstIo.bend as ByteSstIo
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable

347def write_atomic_at.paths(
348  +directory: String,
349  paths: String & String,
350  entries: List<&1, ByteMemTable.Entry>
351) -> IO(Result<&1, &1, U32 & String, Unit>):
352  match paths:
353    case (temporary, final_path):
354      write_atomic_at.opened(directory, path.clone.pair(temporary),
355        final_path, entries)

Uses (11)

Used by (1)