def Fs.read.got

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

import bend-kube-runtime@0.2.0.0/src/client.bend as Client
import Base
import bend-kube-runtime@0.2.0.0/src/utf8.bend as U

66def Fs.read.got(p: File & Res(List<&2, U32>)) -> IO(Res(String)):
67  match p:
68    case (f, Done{bs}):
69      Fs.close_with(String, f, Done{U.Utf8.decode_all(bs)})
70    case (f, Fail{e}):
71      Fs.close_with(String, f, Fail{e})

Uses (11)

Used by (1)