World.hub.key: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/fetch/world.bend as World Lines 97-105 of ezx@1.11.0.0/src/fetch/world.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/fetch/world.bend&start_line=97&end_line=105 import Base import ezx@1.11.0.0/src/lock/world.bend as W # a hub question as a key def hub.key(ask: W.Ask) -> String: match ask: case W.Pkg{hash, _src, hub}: "hub\n" ++ hash ++ "\n" ++ hub case W.Name{nv, hub}: "hubname\n" ++ nv ++ "\n" ++ hub case W.Lock{}: "hublock" Uses (3): 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/lock/world.bend&name=Ask