WithFileSystem sets the file system used for discovering projects.
(fileSystem afero.Fs)
| 278 | |
| 279 | // WithFileSystem sets the file system used for discovering projects. |
| 280 | func WithFileSystem(fileSystem afero.Fs) Option { |
| 281 | return func(api *API) { |
| 282 | api.fs = fileSystem |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | // WithProjectDiscovery sets if the API should attempt to discover |
| 287 | // projects on the filesystem. |
no outgoing calls