MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / copyMapSlice

Function copyMapSlice

mcp/client.go:448–454  ·  view source on GitHub ↗
(values []map[string]any)

Source from the content-addressed store, hash-verified

446 }
447 return nil
448 }
449 out := make([]map[string]any, 0, len(values))
450 for _, item := range values {
451 out = append(out, asMap(item))
452 }
453 return out
454}
455
456func copyMapSlice(values []map[string]any) []map[string]any {
457 out := make([]map[string]any, 0, len(values))

Callers 4

ToolsMethod · 0.85
DiscoverToolsMethod · 0.85
DiscoverResourcesMethod · 0.85
mapSliceFromAnyFunction · 0.85

Calls 1

copyAnyMapFunction · 0.70

Tested by

no test coverage detected