Plan.tag.of: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/plan.bend as Plan Lines 115-122 of ezx@1.11.0.0/src/add/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/add/plan.bend&start_line=115&end_line=122 import Base import ezx@1.11.0.0/src/add/world.bend as A # the tag or branch recorded, as a ref was given: none for a commit, the # default one for none, and the ref itself otherwise def tag.of(rev: Bool, empty: Bool, +world: A.World) -> String: match rev: case True{}: "" case False{}: Bool.pick(String, empty, default.ref(world), A.ref(world)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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/add/plan.bend&name=default.ref https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/world.bend&name=ref