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

Function configMutationPath

internal/cli/config.go:1554–1564  ·  view source on GitHub ↗
(raw string)

Source from the content-addressed store, hash-verified

1552}
1553
1554func configMutationPath(raw string) ([]string, configSetValueKind, bool, error) {
1555 segments, err := parseDottedConfigPath(raw)
1556 if err != nil {
1557 return nil, configSetString, false, err
1558 }
1559 kind, redacted, err := classifyConfigMutationPath(segments)
1560 if err != nil {
1561 return nil, configSetString, false, err
1562 }
1563 return segments, kind, redacted, nil
1564}
1565
1566func parseDottedConfigPath(raw string) ([]string, error) {
1567 trimmed := strings.TrimSpace(raw)

Callers 2

runConfigSetCommandFunction · 0.85

Calls 2

parseDottedConfigPathFunction · 0.85

Tested by 1