def classify_file_unit

mylsm-lsm-store@0.6.0.1 · src/coordinator/UnixSocketIo.bend:47

import mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend as UnixSocketIo
import Base

47# Rewrites the error domain without consuming the socket descriptor.
48def classify_file_unit(
49  pair: File & Result<&1, &1, U32 & String, Unit>
50) -> File & Result<&1, &1, Error, Unit>:
51  match pair:
52    case (file, result): (file, classify_result(result))

Uses (9)

Used by (4)