def text_of

cswap-bend-cli@0.1.0.0 · daemon/live.bend:80

import cswap-bend-cli@0.1.0.0/daemon/live.bend as Live
import Base
import cswap-bend-cli@0.1.0.0/fs.bend as Fs

80def text_of(r: Fs.Res(String)) -> String:
81  match r:
82    case Fail{e}:
83      ""
84    case Done{t}:
85      t

Uses (3)

Used by (1)