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

Function applyDefaultAllowedExtensions

pkg/workflow/cache.go:282–286  ·  view source on GitHub ↗
(entry *CacheMemoryEntry)

Source from the content-addressed store, hash-verified

280}
281
282func applyDefaultAllowedExtensions(entry *CacheMemoryEntry) {
283 if len(entry.AllowedExtensions) == 0 {
284 entry.AllowedExtensions = constants.DefaultAllowedMemoryExtensions
285 }
286}
287
288// extractCacheMemoryConfig extracts cache-memory configuration from tools section
289// Updated to use ToolsConfig instead of map[string]any

Callers 1

parseCacheMemoryEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected