()
| 76 | } |
| 77 | |
| 78 | func deleteProvidersJSON() { |
| 79 | if p := filepath.Join(pathutil.ConfigDir(), "providers.json"); p != "" { |
| 80 | if _, err := os.Stat(p); err == nil { |
| 81 | _ = os.Remove(p) |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | func (api ProviderAPI) dbPath() string { |
| 87 | if api.DBPath != "" { |
no test coverage detected