def paths

bolt@1.27.0.0 · src/rules/imports.bend:97

import bolt@1.27.0.0/src/rules/imports.bend as Imports
import Base

97# the paths of the files
98def paths(es: List<&2, Edge>) -> List<&2, String>:
99  match es:
100    case Nil{}:
101      Nil{}
102    case Con{Edge{p, ds}, rest}:
103      p <> paths(rest)

Uses (3)

Used by (1)