Hub.says: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/hub.bend as Hub Lines 293-298 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=293&end_line=298 import Base import ezx@1.11.0.0/src/add/world.bend as A import ezx@1.11.0.0/src/lock/plan.bend as P import ezx@1.11.0.0/src/pkg/path.bend as Path import ezx@1.11.0.0/src/git/git.bend as Git # the lines a person is told: the hash the name names, then, when there is # an entry, the import line for it, the line `ez publish` prints with the # name in place of the hash def says(+hash: String, +entry: String, +world: A.World) -> List<&2, P.Effect>: Bool.pick(List<&2, P.Effect>, String.is_empty(entry), [P.Say{nv(world) ++ " is " ++ hash}], [P.Say{nv(world) ++ " is " ++ hash}, P.Say{Git.import.line(nv(world), Path.norm(entry))}]) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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=Base/base.bend&name=String.is_empty 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/git/git.bend&name=import.line https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/plan.bend&name=Effect https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=norm