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

Function cloneStringSlice

sdk/pluginhost/host.go:269–274  ·  view source on GitHub ↗
(in []string)

Source from the content-addressed store, hash-verified

267}
268
269func cloneStringSlice(in []string) []string {
270 if len(in) == 0 {
271 return nil
272 }
273 return append([]string(nil), in...)
274}
275
276func cloneStringSliceMap(in map[string][]string) map[string][]string {
277 if len(in) == 0 {

Callers 3

thinkingSupportToPluginFunction · 0.70
cloneStringSliceMapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected