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

Function WithAssumeTerm

executor.go:419–421  ·  view source on GitHub ↗

WithAssumeTerm is used for testing purposes to simulate a terminal.

(assumeTerm bool)

Source from the content-addressed store, hash-verified

417
418// WithAssumeTerm is used for testing purposes to simulate a terminal.
419func WithAssumeTerm(assumeTerm bool) ExecutorOption {
420 return &assumeTermOption{assumeTerm}
421}
422
423type assumeTermOption struct {
424 assumeTerm bool

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…