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

Function scopeOrDefault

internal/cli/config_cmd.go:260–265  ·  view source on GitHub ↗
(scope string)

Source from the content-addressed store, hash-verified

258}
259
260func scopeOrDefault(scope string) editorconfig.Scope {
261 if scope == "project" {
262 return editorconfig.ProjectScope
263 }
264 return editorconfig.UserScope
265}
266
267func splitKeyValue(args []string) (string, string, bool) {
268 switch len(args) {

Callers 2

configSetCommandMethod · 0.85
configUnsetCommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected