WithTempDir sets the temporary directory that will be used by [Executor] for storing temporary files like checksums and cached remote files. By default, the temporary directory is set to the user's temporary directory.
(tempDir TempDir)
| 155 | // storing temporary files like checksums and cached remote files. By default, |
| 156 | // the temporary directory is set to the user's temporary directory. |
| 157 | func WithTempDir(tempDir TempDir) ExecutorOption { |
| 158 | return &tempDirOption{tempDir} |
| 159 | } |
| 160 | |
| 161 | type tempDirOption struct { |
| 162 | tempDir TempDir |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…