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

Function ensureCacheRunIDSuffix

pkg/workflow/cache.go:170–176  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

168}
169
170func ensureCacheRunIDSuffix(key string) string {
171 runIdSuffix := "-${{ github.run_id }}"
172 if strings.HasSuffix(key, runIdSuffix) {
173 return key
174 }
175 return key + runIdSuffix
176}
177
178func parseCacheMemoryDescription(cacheMap map[string]any, entry *CacheMemoryEntry) {
179 if descStr, ok := cacheMap["description"].(string); ok {

Callers 1

parseCacheMemoryIdentityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected