def built
import ezx@1.11.0.0/src/sha/dump.bend as Dumpimport Base
104# the tree's node, or the walk stopped when the listing made none
105def built(got: Maybe<&2, String>, +path: String) -> IO(String):
106 match got:
107 case None{}:
108 IO.die(String, 1, "ez: nar hash: " ++ path ++ ": the listing does not make a tree")
109 case Some{node}:
110 IO.pure(String, node)