def Kc.read

bend-kube-runtime@0.2.0.0 · src/client.bend:598

import bend-kube-runtime@0.2.0.0/src/client.bend as Client
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J

598def Kc.read(+path: String) -> IO(Result<&2, &2, String, J.Json>):
599  IO.bind(Res(String), Result<&2, &2, String, J.Json>, Fs.read(path),
600    r => IO.pure(Result<&2, &2, String, J.Json>, Kc.read.got(r, path)))

Uses (9)

Used by (1)