MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / cloneValues

Function cloneValues

internal/pluginhost/adapters.go:2213–2222  ·  view source on GitHub ↗
(in url.Values)

Source from the content-addressed store, hash-verified

2211}
2212
2213func cloneValues(in url.Values) url.Values {
2214 if len(in) == 0 {
2215 return nil
2216 }
2217 out := make(url.Values, len(in))
2218 for key, values := range in {
2219 out[key] = append([]string(nil), values...)
2220 }
2221 return out
2222}
2223
2224func cloneAnyMap(in map[string]any) map[string]any {
2225 if len(in) == 0 {

Callers 7

AuthenticateMethod · 0.70
buildExecutorRequestFunction · 0.70
cloneModelRouteRequestFunction · 0.70
executorPluginReadyMethod · 0.70
ServeManagementHTTPMethod · 0.70
ServeResourceHTTPMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected