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

Function networkCompactExt

internal/cli/network.go:2088–2097  ·  view source on GitHub ↗
(ext map[string]json.RawMessage)

Source from the content-addressed store, hash-verified

2086}
2087
2088func networkCompactExt(ext map[string]json.RawMessage) string {
2089 if len(ext) == 0 {
2090 return ""
2091 }
2092 payload, err := json.Marshal(ext)
2093 if err != nil {
2094 return ""
2095 }
2096 return compactJSON(payload)
2097}
2098
2099func networkExtString(ext map[string]json.RawMessage, key string) string {
2100 if len(ext) == 0 {

Callers 1

networkSendBundleFunction · 0.85

Calls 1

compactJSONFunction · 0.70

Tested by

no test coverage detected