def roots.named

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

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

239# the package roots but `.`, as the walk names them (`./w3c`)
240def roots.named(paths: List<&2, String>, +world: W.World) -> List<&2, String>:
241  match paths:
242    case Nil{}:
243      roots.of(walk.read(tree(world)), world)
244    case Con{_p, _rest}:
245      Nil{}

Uses (6)

Used by (1)