WithOffline stops the [Executor] from being able to make network connections. It will still be able to read local files and cached copies of remote files.
(offline bool)
| 241 | // WithOffline stops the [Executor] from being able to make network connections. |
| 242 | // It will still be able to read local files and cached copies of remote files. |
| 243 | func WithOffline(offline bool) ExecutorOption { |
| 244 | return &offlineOption{offline} |
| 245 | } |
| 246 | |
| 247 | type offlineOption struct { |
| 248 | offline bool |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…