Plan.rev.free: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/tool/plan.bend as Plan Lines 278-286 of ezx@1.11.0.0/src/tool/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/tool/plan.bend&start_line=278&end_line=286 import Base import ezx@1.11.0.0/src/tool/world.bend as TW import ezx@1.11.0.0/src/ez/target.bend as Tgt # the commit of a free target def rev.free(pl: Tgt.Place, +world: TW.World) -> String: match pl: case Tgt.Bad{_why}: "" case Tgt.Local{p}: loc.rev(loc(p, world)) case Tgt.Remote{url, _slug}: head.rev(head.said(world, url)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=Place https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=head.rev https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=head.said https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=loc https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/plan.bend&name=loc.rev https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/world.bend&name=World