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

Function readClaudeInstalledPlugins

internal/cli/plugin_listing.go:158–166  ·  view source on GitHub ↗

---------- file readers -----------------------------------------------------

(path string)

Source from the content-addressed store, hash-verified

156// ---------- file readers -----------------------------------------------------
157
158func readClaudeInstalledPlugins(path string) claudeInstalledPlugins {
159 var out claudeInstalledPlugins
160 data, err := os.ReadFile(path)
161 if err != nil {
162 return out
163 }
164 _ = json.Unmarshal(data, &out)
165 return out
166}
167
168func readClaudeKnownMarketplaces(path string) map[string]claudeMarketplace {
169 out := make(map[string]claudeMarketplace)

Callers 1

listClaudePluginsFunction · 0.85

Calls 1

ReadFileMethod · 0.80

Tested by

no test coverage detected