def sources

bolt@1.27.0.0 · src/lint/plan.bend:156

import bolt@1.27.0.0/src/lint/plan.bend as Plan
import Base

156# the paths that are source
157def sources(ps: List<&2, String>) -> List<&2, String>:
158  match ps:
159    case Nil{}:
160      Nil{}
161    case Con{+p, rest}:
162      +more = sources(rest)
163      Bool.pick(List<&2, String>, is_config(p), more, p <> more)

Uses (4)

Used by (2)