(source []etscore.KeyPattern)
| 257 | return nil |
| 258 | } |
| 259 | cloned := cloneKeyPatterns(*source) |
| 260 | return &cloned |
| 261 | } |
| 262 | |
| 263 | func cloneStringMap(source map[string]string) map[string]string { |
| 264 | if len(source) == 0 { |
| 265 | return nil |
| 266 | } |
| 267 | cloned := make(map[string]string, len(source)) |
| 268 | maps.Copy(cloned, source) |
| 269 | return cloned |
| 270 | } |
| 271 | |
| 272 | func mergeSeverityMaps(target, source map[string]etscore.Severity) map[string]etscore.Severity { |
| 273 | if source == nil { |
| 274 | if target == nil { |
| 275 | return nil |
no outgoing calls
no test coverage detected