def files.named

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

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

139# the files named, or every `.bend` file the walk finds when none were
140def files.named(paths: List<&2, String>, +world: W.World) -> List<&2, String>:
141  match paths:
142    case Nil{}:
143      +found = walk.found(tree(world))
144      List.sort(~String, ~String.is_le, found)
145    case Con{p, rest}:
146      p <> rest

Uses (7)

Used by (1)