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

Function editorTool

internal/desktop/config_service.go:99–106  ·  view source on GitHub ↗
(app string)

Source from the content-addressed store, hash-verified

97}
98
99func editorTool(app string) (editorconfig.ToolConfig, error) {
100 registry := editorconfig.DefaultRegistry()
101 tool, ok := registry.Get(app)
102 if !ok {
103 return nil, NewError("CONFIG_APP_NOT_FOUND", "unsupported config app", map[string]string{"app": app})
104 }
105 return tool, nil
106}

Callers 3

ShowMethod · 0.85
SetMethod · 0.85
UnsetMethod · 0.85

Calls 3

DefaultRegistryFunction · 0.92
NewErrorFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected