MCPcopy Create free account
hub / github.com/go-openapi/spec / ResolutionCache

Interface ResolutionCache

cache.go:12–15  ·  view source on GitHub ↗

ResolutionCache a cache for resolving urls.

Source from the content-addressed store, hash-verified

10
11// ResolutionCache a cache for resolving urls.
12type ResolutionCache interface {
13 Get(uri string) (any, bool)
14 Set(uri string, data any)
15}
16
17type simpleCache struct {
18 lock sync.RWMutex

Callers 13

baseForRootFunction · 0.65
transitiveResolverMethod · 0.65
resolveRefMethod · 0.65
loadMethod · 0.65
TestExpand_Issue145Function · 0.65
ResolveRefFunction · 0.65
IsValidURIMethod · 0.65
baseForRootFunction · 0.65
loadMethod · 0.65
setSchemaIDMethod · 0.65
resolutionContextServerFunction · 0.65

Implementers 1

simpleCachecache.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…