WithTempDir sets the temporary directory that will be used by the [Reader]. By default, the reader uses [os.TempDir].
(tempDir string)
| 143 | // WithTempDir sets the temporary directory that will be used by the [Reader]. |
| 144 | // By default, the reader uses [os.TempDir]. |
| 145 | func WithTempDir(tempDir string) ReaderOption { |
| 146 | return &tempDirOption{tempDir: tempDir} |
| 147 | } |
| 148 | |
| 149 | type tempDirOption struct { |
| 150 | tempDir string |
no outgoing calls
no test coverage detected
searching dependent graphs…