WithDir sets the working directory of the [Executor]. By default, the directory is set to the user's current working directory.
(dir string)
| 125 | // WithDir sets the working directory of the [Executor]. By default, the |
| 126 | // directory is set to the user's current working directory. |
| 127 | func WithDir(dir string) ExecutorOption { |
| 128 | return &dirOption{dir} |
| 129 | } |
| 130 | |
| 131 | type dirOption struct { |
| 132 | dir string |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…