mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-02 12:17:39 -06:00
ca272b2107
A topological walk was previously only done in Terraform via the concurrent method used for walking the primary dependency graph in core. Sometime however we want a dependency ordering without the overhead of instantiating the concurrent walk with the channel-based edges. Add TopologicalOrder and ReverseTopologicalOrder to obtain a list of nodes which can be used to visit each while ensuring that all dependencies are satisfied. |
||
---|---|---|
.. | ||
dag_test.go | ||
dag.go | ||
dot_test.go | ||
dot.go | ||
edge_test.go | ||
edge.go | ||
graph_test.go | ||
graph.go | ||
marshal_test.go | ||
marshal.go | ||
set_test.go | ||
set.go | ||
tarjan_test.go | ||
tarjan.go | ||
walk_test.go | ||
walk.go |