Plan.head.rev: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/tool/plan.bend as Plan Lines 268-276 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=268&end_line=276 import Base import ezx@1.11.0.0/src/lock/up.bend as Up import ezx@1.11.0.0/src/git/git.bend as Git # the commit HEAD names, "" while it is not known def head.rev(said: Up.Said) -> String: match said: case Up.Said{text}: Git.tip.rev(Git.rows(String.lines(text))) case Up.Unsaid{_why}: "" case Up.Unasked{_ask}: "" Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.lines https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/git/git.bend&name=rows https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/git/git.bend&name=tip.rev https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/up.bend&name=Said