def marks.named

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

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
import bolt@1.27.0.0/src/role.bend as Role

409# the marks of a run over files named on the line: every file of the graph
410# read for its imports, the walk taken over their resolved paths, and each
411# named file's role looked up there as it is named
412def marks.named(+world: W.World) -> List<&2, Role.Mark>:
413  +cwd = W.cwd.of(world)
414  marks.key(inputs(world), cwd, Role.marks.facts(facts.of(gots(graph(world), world), cwd)))

Uses (10)

Used by (2)