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

Function parseCacheMemoryRestoreOnly

pkg/workflow/cache.go:240–244  ·  view source on GitHub ↗
(cacheMap map[string]any, entry *CacheMemoryEntry)

Source from the content-addressed store, hash-verified

238}
239
240func parseCacheMemoryRestoreOnly(cacheMap map[string]any, entry *CacheMemoryEntry) {
241 if restoreOnlyBool, ok := cacheMap["restore-only"].(bool); ok {
242 entry.RestoreOnly = restoreOnlyBool
243 }
244}
245
246func parseCacheMemoryScope(cacheMap map[string]any, entry *CacheMemoryEntry) error {
247 if scopeStr, ok := cacheMap["scope"].(string); ok {

Callers 1

parseCacheMemoryEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected