World.said.ok: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/lock/world.bend as World Lines 362-370 of ezx@1.13.0.0/src/lock/world.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/lock/world.bend&start_line=362&end_line=370 import Base import ezx@1.13.0.0/src/lock/lock.bend as L # what the hub said a name names, once it is known whether the answer is a # `0x` name def said.ok(ok: Bool, +nv: String, +hash: String, +hub: String) -> Verdict: match ok: case True{}: Named{[L.Name{nv, hash}]} case False{}: No{"ez: the hub at " ++ hub ++ " names no package " ++ nv ++ " (it answered `" ++ hash ++ "`)"} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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.13.0.0/src/lock/lock.bend&name=Name https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/lock/world.bend&name=Verdict