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

Function cloneSkillPaths

internal/workspace/clone.go:323–329  ·  view source on GitHub ↗
(src []SkillPath)

Source from the content-addressed store, hash-verified

321}
322
323func cloneSkillPaths(src []SkillPath) []SkillPath {
324 if len(src) == 0 {
325 return nil
326 }
327
328 return append([]SkillPath(nil), src...)
329}
330
331func cloneMCPServers(src []aghconfig.MCPServer) []aghconfig.MCPServer {
332 if len(src) == 0 {

Callers 2

cloneResolvedWorkspaceFunction · 0.85

Calls 1

appendFunction · 0.85

Tested by

no test coverage detected