MCPcopy Create free account
hub / github.com/go-task/task / Reader

Struct Reader

taskfile/reader.go:43–57  ·  view source on GitHub ↗

A Reader will recursively read Taskfiles from a given [Node] and build a [ast.TaskfileGraph] from them.

Source from the content-addressed store, hash-verified

41 // A Reader will recursively read Taskfiles from a given [Node] and build a
42 // [ast.TaskfileGraph] from them.
43 Reader struct {
44 graph *ast.TaskfileGraph
45 insecure bool
46 download bool
47 offline bool
48 trustedHosts []string
49 tempDir string
50 cacheExpiryDuration time.Duration
51 caCert string
52 cert string
53 certKey string
54 debugFunc DebugFunc
55 promptFunc PromptFunc
56 promptMutex sync.Mutex
57 }
58)
59
60// NewReader constructs a new Taskfile [Reader] using the given Node and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected