def write_atomic_at

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

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

357# Atomically publishes one bounded byte SST at a caller-selected path.
358def write_atomic_at(
359  +directory: String,
360  final_path: String,
361  entries: List<&1, ByteMemTable.Entry>
362) -> IO(Result<&1, &1, U32 & String, Unit>):
363  write_atomic_at.paths(directory,
364    path.temporary.final(path.clone.pair(final_path)), entries)

Uses (11)

Used by (2)