MCPcopy Create free account
hub / github.com/github/gh-aw / groupEntriesByRepoAndSHA

Method groupEntriesByRepoAndSHA

pkg/workflow/action_cache.go:623–630  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

621}
622
623func (c *ActionCache) groupEntriesByRepoAndSHA() map[deduplicationKey][]string {
624 groups := make(map[deduplicationKey][]string)
625 for key, entry := range c.Entries {
626 ek := deduplicationKey{repo: entry.Repo, sha: entry.SHA}
627 groups[ek] = append(groups[ek], key)
628 }
629 return groups
630}
631
632func buildDedupKeyInfos(keys []string) []cacheKeyInfo {
633 keyInfos := make([]cacheKeyInfo, len(keys))

Callers 1

deduplicateEntriesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected