Hop.program: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/hop.bend as Hop Lines 38-42 of ezx@1.11.0.0/src/ws/hop.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/hop.bend&start_line=38&end_line=42 import Base import ezx@1.11.0.0/src/pkg/path.bend as P # the program as it was started, found again from another directory: a path # with a `/` in it taken from where ez was started, and a bare name looked up # on PATH as it was def program(+pwd: String, +prog: String) -> String: Bool.pick(String, String.contains(prog, "/"), P.anchor(pwd, prog), prog) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.contains https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=anchor