Plan.tip.head.rows: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/plan.bend as Plan Lines 150-156 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=150&end_line=156 import 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 # the default branch, when no tag is semver-ish: the commit HEAD names, and # the branch its symref names, which is recorded as the ref followed def tip.head.rows(+rows: List<&2, Git.Row>, +world: A.World) -> Tip: Bool.pick(Tip, String.is_empty(Git.tip.branch(rows)), TipNo{"ez: " ++ A.url(world) ++ " has no semver-ish tag and its HEAD names no branch; name a ref to pin"}, tip.found(Git.tip.rev(rows), "ez: " ++ A.url(world) ++ " has no HEAD")) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/plan.bend&name=Tip https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/plan.bend&name=tip.found 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=url https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/git/git.bend&name=Row https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/git/git.bend&name=tip.branch https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/git/git.bend&name=tip.rev