MCPcopy Index your code
hub / github.com/go-task/task / NewTaskfileGraph

Function NewTaskfileGraph

taskfile/ast/graph.go:28–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func NewTaskfileGraph() *TaskfileGraph {
29 return &TaskfileGraph{
30 sync.Mutex{},
31 graph.New(taskfileHash,
32 graph.Directed(),
33 graph.PreventCycles(),
34 graph.Rooted(),
35 ),
36 }
37}
38
39func (tfg *TaskfileGraph) Visualize(filename string) error {
40 f, err := os.Create(filename)

Callers 1

NewReaderFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…