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

Function NewReader

taskrc/reader.go:27–33  ·  view source on GitHub ↗

NewReader constructs a new Taskfile [Reader] using the given Node and options.

(opts ...ReaderOption)

Source from the content-addressed store, hash-verified

25// NewReader constructs a new Taskfile [Reader] using the given Node and
26// options.
27func NewReader(opts ...ReaderOption) *Reader {
28 r := &Reader{
29 debugFunc: nil,
30 }
31 r.Options(opts...)
32 return r
33}
34
35// Options loops through the given [ReaderOption] functions and applies them to
36// the [Reader].

Callers 1

GetConfigFunction · 0.70

Calls 1

OptionsMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…