def graph.items
import bolt@1.27.0.0/src/rules/laws/law.bend as Lawimport Base
import bolt@1.27.0.0/src/rules/digest.bend as Digest
import bolt@1.27.0.0/src/rules/imports.bend as Imports
93# the items of every file as nodes
94def graph.items(ds: List<&2, Digest.Digest>) -> List<&2, Imports.Edge>:
95 match ds:
96 case Nil{}:
97 Nil{}
98 case Con{Digest.Digest{path, norm, dir, is_laws, is_law_file, exempt, tops, says, deps, laws}, rest}:
99 nodes(tops, norm, graph.items(rest))