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

Function cloneExtensionsConfig

internal/workspace/clone.go:109–113  ·  view source on GitHub ↗
(src aghconfig.ExtensionsConfig)

Source from the content-addressed store, hash-verified

107}
108
109func cloneExtensionsConfig(src aghconfig.ExtensionsConfig) aghconfig.ExtensionsConfig {
110 cloned := src
111 cloned.Resources.AllowedKinds = append([]resources.ResourceKind(nil), src.Resources.AllowedKinds...)
112 return cloned
113}
114
115func cloneAutomationConfig(src aghconfig.AutomationConfig) aghconfig.AutomationConfig {
116 cloned := src

Callers 1

cloneConfigFunction · 0.70

Calls 1

appendFunction · 0.85

Tested by

no test coverage detected