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

Function cloneMap

ui/fullscreen_backend.go:1474–1483  ·  view source on GitHub ↗
(input map[string]any)

Source from the content-addressed store, hash-verified

1472}
1473
1474func cloneMap(input map[string]any) map[string]any {
1475 if input == nil {
1476 return nil
1477 }
1478 out := make(map[string]any, len(input))
1479 for key, value := range input {
1480 out[key] = value
1481 }
1482 return out
1483}
1484
1485func anyStringSlice(value any) []string {
1486 switch typed := value.(type) {

Callers 1

ShowModalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected