def tags.best
import ezx@1.11.0.0/src/lock/up.bend as Upimport Base
922# the greatest semver-ish tag, else the default branch
923def tags.best(none: Bool, +best: String, +rs: List<&2, Reply>, +url: String) -> Named:
924 match none:
925 case False{}:
926 Named{best}
927 case True{}:
928 heads.said(printed(rs, Head{url}, "ls-remote " ++ url), url)