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

Function WithDir

executor.go:127–129  ·  view source on GitHub ↗

WithDir sets the working directory of the [Executor]. By default, the directory is set to the user's current working directory.

(dir string)

Source from the content-addressed store, hash-verified

125// WithDir sets the working directory of the [Executor]. By default, the
126// directory is set to the user's current working directory.
127func WithDir(dir string) ExecutorOption {
128 return &dirOption{dir}
129}
130
131type dirOption struct {
132 dir string

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…