def says

ezx@1.11.0.0 · src/tool/plan.bend:834

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/tool/world.bend as TW
import ezx@1.11.0.0/src/share/say.bend as Say

834# what a person is told once the link is written: that the directory is not
835# on PATH, when it is not, and what was linked where
836def says(install: Bool, +world: TW.World) -> List<&2, String>:
837  +called = name(world)
838  +at = bin.at(world) ++ "/" ++ called
839  +done = Bool.pick(String, install, Say.installed(called, at), Say.linked(called, at))
840  Bool.pick(List<&2, String>, on.path(bin.at(world), TW.env.path(TW.env(world))), [done],
841    ["warning: " ++ bin.at(world) ++ " is not on PATH", done])

Uses (13)

Used by (1)