def ask.url

ezx@1.11.0.0 · src/add/plan.bend:697

import ezx@1.11.0.0/src/add/plan.bend as Plan
import 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      ""

Uses (2)

Used by (1)