def locate
import ezx@1.11.0.0/src/tool/run.bend as Runimport Base
import snap@1.4.0.0/main.bend as R
import ezx@1.11.0.0/src/tool/world.bend as TW
117# a local path, made real, and what git says of it
118def locate(+path: String) -> IO(TW.Answer):
119 do IO<TW.Answer>:
120 +out : String <- R.exec(["realpath", path])
121 locate.real(R.ok(out), path, R.text(out))