def ask.url
import ezx@1.11.0.0/src/add/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/up.bend as Up
697# the source a git question names, "" for any other question
698def ask.url(ask: Up.Ask) -> String:
699 match ask:
700 case Up.Tags{url}:
701 url
702 case Up.Head{url}:
703 url
704 case Up.Refs{url, _ref}:
705 url
706 case Up.Clone{url, _rev}:
707 url
708 case _:
709 ""