def closure.go
import bolt@1.27.0.0/src/rules/imports.bend as Importsimport Base
172# the closure of the file at from, a path normalized already, over the graph
173def closure.go(es: List<&2, Edge>, +read: List<&2, String>, +fuel: Nat, +from: String) -> List<&2, String>:
174 List.reverse(&2, String, walk(fuel, [from], [from], es, read))