def laid.seen
import ezx@1.11.0.0/src/fetch/run.bend as Runimport Base
import ezx@1.11.0.0/src/lock/run.bend as Run
import ezx@1.11.0.0/src/lock/world.bend as W
25# a tree's manifest, when there is one: the tree as it names it, and
26# otherwise a miss
27def laid.seen(got: Maybe<&2, String>, +dir: String) -> IO(W.Answer):
28 match got:
29 case None{}:
30 IO.pure(W.Answer, W.Miss{"ez: " ++ dir ++ " is not there"})
31 case Some{text}:
32 Run.answer.lib(dir, text)