MCPcopy Create free account
hub / github.com/compozy/agh / scopeForWorkspace

Function scopeForWorkspace

internal/cli/config.go:918–923  ·  view source on GitHub ↗
(workspaceRoot string)

Source from the content-addressed store, hash-verified

916}
917
918func scopeForWorkspace(workspaceRoot string) string {
919 if strings.TrimSpace(workspaceRoot) == "" {
920 return string(aghconfig.WriteScopeGlobal)
921 }
922 return string(aghconfig.WriteScopeWorkspace)
923}
924
925func redactedConfigMap(cfg *aghconfig.Config) map[string]any {
926 node, ok := configNodeFromValue(reflect.ValueOf(cfg), "")

Callers 3

newConfigShowCommandFunction · 0.85
newConfigListCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected