opentofu/dag
James Bardin de0cb17a39 Add Graph.DebugOperation
The method marks the start of a set of operations on the Graph, with
extra information optionally provided in the second paramter. This
returns a function with a single End method to mark the end of the set
in the logs.

Refactor the existing graph Begin/End Operation calls to use this single
method. Remove the *string types in the marshal structs, these are
strictly informational and don't need to differentiate empty vs unset
strings.

Add calls to DebugOperation for each step while building the graph.
2016-11-14 12:47:51 -05:00
..
dag_test.go Silence log output when not verbose 2016-08-01 17:19:14 -04:00
dag.go Add Graph.DebugOperation 2016-11-14 12:47:51 -05:00
dot.go Remove dot package 2016-11-14 08:50:34 -05:00
edge_test.go dag: Remove, RemoveEdge, DownEdges, UpEdges 2015-02-19 12:07:54 -08:00
edge.go dag: export more things 2015-02-19 12:08:07 -08:00
graph_test.go dag: test for EdgesFrom, EdgesTo 2016-10-19 13:38:53 -07:00
graph.go Add Graph.DebugOperation 2016-11-14 12:47:51 -05:00
marshal_test.go Rename annotation methods 2016-11-14 11:06:52 -05:00
marshal.go Add Graph.DebugOperation 2016-11-14 12:47:51 -05:00
set.go dag: use hashcodes to as map key to edge sets 2015-10-27 11:58:34 -07:00
tarjan_test.go dag: Remove, RemoveEdge, DownEdges, UpEdges 2015-02-19 12:07:54 -08:00
tarjan.go dag: fix walk order issue, scc issues 2015-02-19 12:07:55 -08:00