def brief.go

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

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

25# the first twelve characters of a commit, which is enough to tell one from
26# the next. A shorter name is already short.
27def brief.go(short: Bool, +rev: String) -> String:
28  match short:
29    case True{}:
30      rev
31    case False{}:
32      String.take(rev, 12n)

Uses (3)

Used by (1)