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