(input map[string]string)
| 134 | } |
| 135 | |
| 136 | func cloneStringMap(input map[string]string) map[string]string { |
| 137 | if input == nil { |
| 138 | return nil |
| 139 | } |
| 140 | cloned := make(map[string]string, len(input)) |
| 141 | maps.Copy(cloned, input) |
| 142 | return cloned |
| 143 | } |
| 144 | |
| 145 | func cloneKeyPatterns(patterns []etscore.KeyPattern) []etscore.KeyPattern { |
| 146 | if len(patterns) == 0 { |