def tip.head.rows
ezx@1.11.0.0 · src/add/plan.bend:150
import ezx@1.11.0.0/src/add/plan.bend as Plan
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
150
151
152def tip.head.rows(+rows: List<&2, Git.Row>, +world: A.World) -> Tip:
153 Bool.pick(Tip, String.is_empty(Git.tip.branch(rows)),
154 TipNo{"ez: " ++ A.url(world) ++
155 " has no semver-ish tag and its HEAD names no branch; name a ref to pin"},
156 tip.found(Git.tip.rev(rows), "ez: " ++ A.url(world) ++ " has no HEAD"))