(source map[string]any)
| 2776 | } |
| 2777 | |
| 2778 | func cloneJSONMap(source map[string]any) map[string]any { |
| 2779 | if len(source) == 0 { |
| 2780 | return nil |
| 2781 | } |
| 2782 | cloned := make(map[string]any, len(source)) |
| 2783 | maps.Copy(cloned, source) |
| 2784 | return cloned |
| 2785 | } |
| 2786 | |
| 2787 | func cloneHostAPIStringMap(source map[string]string) map[string]string { |
| 2788 | if len(source) == 0 { |
no outgoing calls
no test coverage detected