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

Function WithStdin

executor.go:558–560  ·  view source on GitHub ↗

WithStdin sets the [Executor]'s standard input [io.Reader].

(stdin io.Reader)

Source from the content-addressed store, hash-verified

556
557// WithStdin sets the [Executor]'s standard input [io.Reader].
558func WithStdin(stdin io.Reader) ExecutorOption {
559 return &stdinOption{stdin}
560}
561
562type stdinOption struct {
563 stdin io.Reader

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…