def tag
import ezx@1.11.0.0/src/add/plan.bend as Planimport Base
import ezx@1.11.0.0/src/add/world.bend as A
import ezx@1.11.0.0/src/git/git.bend as Git
124# the tag or branch the ledger records
125def tag(+world: A.World) -> String:
126 tag.of(Git.is_rev(A.ref(world)), String.is_empty(A.ref(world)), world)