def answer.hubhas
import ezx@1.11.0.0/src/lock/run.bend as Runimport Base
import ezx@1.11.0.0/src/hub/hub.bend as Web
import ezx@1.11.0.0/src/hub/get.bend as Net
import ezx@1.11.0.0/src/lock/lock.bend as L
import ezx@1.11.0.0/src/lock/up.bend as Up
383# the hub's manifest for a hash a dependency moved to
384def answer.hubhas(+hub: String, +hash: String) -> IO(Up.Answer):
385 do IO<Up.Answer>:
386 g : Web.Got <- Net.fetch(L.url_of(hub, hash, "manifest"), L.want(hash))
387 return Up.HubSaid{g}