(ctx context.Context)
| 114 | } |
| 115 | |
| 116 | func (api ProviderAPI) listProvidersFile(ctx context.Context) (providers.File, error) { |
| 117 | if err := api.prepareProviderOperation(); err != nil { |
| 118 | return providers.File{}, err |
| 119 | } |
| 120 | return api.store().ListProviders(ctx) |
| 121 | } |
| 122 | |
| 123 | // Init creates the SQLite app state database and deletes the legacy providers.json. |
| 124 | func (api ProviderAPI) Init(ctx context.Context) (OperationResult, error) { |
no test coverage detected