def file.got
import ezx@1.11.0.0/src/sha/dump.bend as Dumpimport Base
40def file.got(got: Maybe<&2, String>, +path: String) -> IO(String):
41 match got:
42 case None{}:
43 IO.die(String, 1, "ez: nar hash: " ++ path ++ ": unreadable")
44 case Some{s}:
45 IO.pure(String, s)