MCPcopy
hub / github.com/flyteorg/flyte / Get

Method Get

flytestdlib/utils/auto_refresh_cache.go:106–111  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

104}
105
106func (w *autoRefreshCache) Get(id string) CacheItem {
107 if val, ok := w.lruMap.Get(id); ok {
108 return val.(CacheItem)
109 }
110 return nil
111}
112
113// Return the item if exists else create it.
114// Create should be invoked only once. recreating the object is not supported.

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected