Hub.decide.hash: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/hub.bend as Hub Lines 118-125 of ezx@1.11.0.0/src/add/hub.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/add/hub.bend&start_line=118&end_line=125 import Base import ezx@1.11.0.0/src/add/world.bend as A # a `0x` name the hub answered, or an answer that names none def decide.hash(ok: Bool, +hash: String, +world: A.World) -> Verdict: match ok: case True{}: decide.pkg(heard(A.hubs(world), hash), hash, world) case False{}: Stop{"ez: the hub at " ++ A.hub(world) ++ " names no package " ++ nv(world) ++ " (it answered `" ++ hash ++ "`)"} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/hub.bend&name=Verdict https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/hub.bend&name=decide.pkg https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/hub.bend&name=heard https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/hub.bend&name=nv https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/world.bend&name=hub https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/world.bend&name=hubs