WithProjectDiscovery sets if the API should attempt to discover projects on the filesystem.
(projectDiscovery bool)
| 286 | // WithProjectDiscovery sets if the API should attempt to discover |
| 287 | // projects on the filesystem. |
| 288 | func WithProjectDiscovery(projectDiscovery bool) Option { |
| 289 | return func(api *API) { |
| 290 | api.projectDiscovery = projectDiscovery |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | // WithDiscoveryAutostart sets if the API should attempt to autostart |
| 295 | // projects that have been discovered |
no outgoing calls