SchemaCache is a cache for downloaded schemas, so each file is only retrieved once It is different from pkg/registry/http_cache.go in that: - This cache caches the parsed Schemas
| 9 | // It is different from pkg/registry/http_cache.go in that: |
| 10 | // - This cache caches the parsed Schemas |
| 11 | type inMemory struct { |
| 12 | sync.RWMutex |
| 13 | schemas map[string]any |
| 14 | } |
| 15 | |
| 16 | // New creates a new cache for downloaded schemas |
| 17 | func NewInMemoryCache() Cache { |
nothing calls this directly
no outgoing calls
no test coverage detected