def locate.real
import ezx@1.11.0.0/src/tool/run.bend as Runimport Base
import ezx@1.11.0.0/src/tool/world.bend as TW
109# a path that has a real path, or why it has none
110def locate.real(ok: Bool, +path: String, +text: String) -> IO(TW.Answer):
111 match ok:
112 case False{}:
113 IO.pure(TW.Answer, TW.Miss{"ez: " ++ path ++ ": " ++ String.trim(text)})
114 case True{}:
115 located(String.trim(text))