MCPcopy Create free account
hub / github.com/cli/cli / countNames

Function countNames

script/ghmock/report.go:413–419  ·  view source on GitHub ↗
(requests []loggedRequest)

Source from the content-addressed store, hash-verified

411}
412
413func countNames(requests []loggedRequest) map[string]int {
414 counts := map[string]int{}
415 for _, e := range requests {
416 counts[displayName(e)]++
417 }
418 return counts
419}
420
421// unionNames lists request names from both runs, in the order first seen.
422func unionNames(a, b []loggedRequest) []string {

Callers 1

printDifferencesFunction · 0.85

Calls 1

displayNameFunction · 0.70

Tested by

no test coverage detected