def label.go

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

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

38# a package's name when its entry has one, otherwise the hash. `main` is kept:
39# it is the name the file has.
40def label.go(empty: Bool, +hash: String, +name: String) -> String:
41  match empty:
42    case True{}:
43      hash
44    case False{}:
45      name

Uses (2)

Used by (1)