def drift.where

ezx@1.11.0.0 · src/share/say.bend:134

import ezx@1.11.0.0/src/share/say.bend as Say
import Base

134# the commit the words name. A tag is what a person pinned; a bare rev is not.
135def drift.where(bare: Bool, +tag: String, +rev: String) -> String:
136  match bare:
137    case True{}:
138      "commit " ++ rev
139    case False{}:
140      "tagged commit " ++ tag ++ " (" ++ rev ++ ")"

Uses (3)

Used by (1)