MCPcopy
hub / github.com/go-task/task / Visualize

Method Visualize

taskfile/ast/graph.go:39–46  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

37}
38
39func (tfg *TaskfileGraph) Visualize(filename string) error {
40 f, err := os.Create(filename)
41 if err != nil {
42 return err
43 }
44 defer f.Close()
45 return draw.DOT(tfg.Graph, f)
46}
47
48func (tfg *TaskfileGraph) Merge() (*Taskfile, error) {
49 hashes, err := graph.TopologicalSort(tfg.Graph)

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.80

Tested by

no test coverage detected