def edges

bolt@1.27.0.0 · src/rules/digest.bend:360

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

360# the import graph of the files, built once for every closure taken over it
361def edges(ds: List<&2, Digest>) -> List<&2, Imports.Edge>:
362  match ds:
363    case Nil{}:
364      Nil{}
365    case Con{Digest{path, norm, dir, is_laws, is_law_file, exempt, tops, says, deps, laws}, rest}:
366      Imports.Edge{norm, deps} <> edges(rest)

Uses (3)

Used by (0)

No other definition uses this definition.