def probe.url
import ezx@1.11.0.0/src/pub/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/lock.bend as L
817# the url the hub is asked
818def probe.url(+hub: String, one: Probe) -> String:
819 match one:
820 case ProbeHash{h}:
821 L.url_of(hub, h, "manifest")
822 case ProbeName{nv, _h}:
823 hub ++ "/name/" ++ nv