def says
ezx@1.11.0.0 · src/add/hub.bend:293
import ezx@1.11.0.0/src/add/hub.bend as Hub
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
293
294
295
296def says(+hash: String, +entry: String, +world: A.World) -> List<&2, P.Effect>:
297 Bool.pick(List<&2, P.Effect>, String.is_empty(entry), [P.Say{nv(world) ++ " is " ++ hash}],
298 [P.Say{nv(world) ++ " is " ++ hash}, P.Say{Git.import.line(nv(world), Path.norm(entry))}])