MCPcopy Index your code
hub / github.com/bytebase/bytebase / Get

Method Get

backend/api/lsp/performance_optimizer.go:218–224  ·  view source on GitHub ↗

Get retrieves cached content

(uri string)

Source from the content-addressed store, hash-verified

216
217// Get retrieves cached content
218func (c *ContentCache) Get(uri string) (*CachedContent, bool) {
219 c.mu.RLock()
220 defer c.mu.RUnlock()
221
222 content, exists := c.cache[uri]
223 return content, exists
224}
225
226// Set stores content in cache with LRU eviction
227func (c *ContentCache) Set(uri string, content *CachedContent) {

Callers 15

newMockServerFunction · 0.80
GetOpenIDConfigurationFunction · 0.80
newMockServerFunction · 0.80
IsAllDMLFunction · 0.80
GetCheckoutSessionInfoFunction · 0.80
GetSubscriptionFunction · 0.80
QueryConnMethod · 0.80
getHiddenIndicesMethod · 0.80
validateGoogleChatURLFunction · 0.80
getTokenCachedFunction · 0.80
getIDByEmailMethod · 0.80
getIDByPhoneMethod · 0.80

Calls

no outgoing calls