def ps_text

cswap-bend-cli@0.1.0.0 · daemon/sess.bend:67

import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sess
import Base

67def ps_text(r: Result<&1, &1, U32 & String, U32 & (String & String)>) -> Maybe<&2, String>:
68  match r:
69    case Fail{e}:
70      None{}
71    case Done{(st, (out, err))}:
72      ps_nonempty(U32.is_eq(st, 0), String.trim(out))

Uses (9)

Used by (1)