def probe.url

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

import ezx@1.11.0.0/src/pub/plan.bend as Plan
import 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

Uses (4)

Used by (1)