def name.got

ezx@1.11.0.0 · src/fetch/plan.bend:553

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

553# what BEND_LIB holds for a name
554def name.got(got: Maybe<&2, String>, +nv: String, +hash: String) -> Nm:
555  match got:
556    case None{}:
557      NmPut{nv, hash, ""}
558    case Some{text}:
559      +was = String.trim(text)
560      name.held(String.eq(was, hash), nv, hash, was)

Uses (6)

Used by (1)