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

Interface ReaderOption

taskrc/reader.go:15–17  ·  view source on GitHub ↗

A ReaderOption is any type that can apply a configuration to a [Reader].

Source from the content-addressed store, hash-verified

13 DebugFunc func(string)
14 // A ReaderOption is any type that can apply a configuration to a [Reader].
15 ReaderOption interface {
16 ApplyToReader(*Reader)
17 }
18 // A Reader will recursively read Taskfiles from a given [Node] and build a
19 // [ast.TaskRC] from them.
20 Reader struct {

Callers

nothing calls this directly

Implementers 12

debugFuncOptiontaskrc/reader.go
insecureOptiontaskfile/reader.go
downloadOptiontaskfile/reader.go
offlineOptiontaskfile/reader.go
trustedHostsOptiontaskfile/reader.go
tempDirOptiontaskfile/reader.go
cacheExpiryDurationOptiontaskfile/reader.go
debugFuncOptiontaskfile/reader.go
promptFuncOptiontaskfile/reader.go
readerCACertOptiontaskfile/reader.go
readerCertOptiontaskfile/reader.go
readerCertKeyOptiontaskfile/reader.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…