MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / deleteProvidersJSON

Function deleteProvidersJSON

internal/appapi/providers.go:78–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func 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
86func (api ProviderAPI) dbPath() string {
87 if api.DBPath != "" {

Callers 1

Calls 2

ConfigDirFunction · 0.92
RemoveMethod · 0.45

Tested by

no test coverage detected