def ask.hub

ezx@1.11.0.0 · src/lock/plan.bend:1126

import ezx@1.11.0.0/src/lock/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/world.bend as W

1126# the hub a question names, "" for the lock's
1127def ask.hub(ask: W.Ask) -> String:
1128  match ask:
1129    case W.Pkg{_hash, _src, hub}:
1130      hub
1131    case W.Name{_nv, hub}:
1132      hub
1133    case W.Lock{}:
1134      ""

Uses (2)

Used by (1)