def laid
import ezx@1.11.0.0/src/fetch/run.bend as Runimport Base
import ezx@1.11.0.0/src/io/file.bend as F
import ezx@1.11.0.0/src/lock/world.bend as W
34# the tree under BEND_LIB for a hash, as its manifest names it, or a miss
35# when there is none
36def laid(+lib: String, +hash: String) -> IO(W.Answer):
37 +dir = lib ++ "/" ++ hash
38 do IO<W.Answer>:
39 m : Maybe<&2, String> <- F.read(dir ++ "/manifest")
40 laid.seen(m, dir)