def named.of

ezx@1.11.0.0 · src/pub/plan.bend:299

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

299# how the package goes on the hub; a ledger that names no entry sends
300# nothing, so it is taken for one that goes by hash
301def named.of(ledger: Led) -> Named:
302  match ledger:
303    case Led{_e, got}:
304      got
305    case LedNo{_why}:
306      ByHash{}

Uses (2)

Used by (1)