def name.got

ezx@1.11.0.0 · src/doctor/plan.bend:309

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base

309def name.got(got: Maybe<&2, String>, +nv: String, +hash: String) -> List<&2, String>:
310  match got:
311    case None{}:
312      ["names/" ++ nv ++ " is not there"]
313    case Some{text}:
314      +was = String.trim(text)
315      name.held(String.eq(was, hash), nv, hash, was)

Uses (7)

Used by (1)