def rev.of
import ezx@1.11.0.0/src/tool/plan.bend as Planimport Base
import ezx@1.11.0.0/src/tool/world.bend as TW
288# the commit of a resolved target
289def rev.of(found: Src, +world: TW.World) -> String:
290 match found:
291 case Pin{_n, _u, r, _o}:
292 r
293 case Free{pl}:
294 rev.free(pl, world)
295 case NoSrc{_why}:
296 ""