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

Function WithIO

executor.go:598–600  ·  view source on GitHub ↗

WithIO sets the [Executor]'s standard input, output, and error to the same [io.ReadWriter].

(rw io.ReadWriter)

Source from the content-addressed store, hash-verified

596// WithIO sets the [Executor]'s standard input, output, and error to the same
597// [io.ReadWriter].
598func WithIO(rw io.ReadWriter) ExecutorOption {
599 return &ioOption{rw}
600}
601
602type ioOption struct {
603 rw io.ReadWriter

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…