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

Function cloneHostAPIStringMap

internal/extension/host_api.go:2787–2794  ·  view source on GitHub ↗
(source map[string]string)

Source from the content-addressed store, hash-verified

2785}
2786
2787func cloneHostAPIStringMap(source map[string]string) map[string]string {
2788 if len(source) == 0 {
2789 return nil
2790 }
2791 cloned := make(map[string]string, len(source))
2792 maps.Copy(cloned, source)
2793 return cloned
2794}

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected