def line.of

ezx@1.11.0.0 · src/pub/blurb.bend:95

import ezx@1.11.0.0/src/pub/blurb.bend as Blurb
import Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K

95# the first line of the file found, "" when there is none
96def line.of(got: Maybe<&2, K.Source>) -> String:
97  match got:
98    case None{}:
99      ""
100    case Some{f}:
101      line.file(f)

Uses (4)

Used by (1)