MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getCacheEntry

Function getCacheEntry

cli/src/hooks/use-activity-query.ts:106–108  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

104}
105
106function getCacheEntry<T>(key: string): CacheEntry<T> | undefined {
107 return cache.entries.get(key) as CacheEntry<T> | undefined
108}
109
110/**
111 * Check if a cache entry is stale based on staleTime.

Callers 5

isEntryStaleFunction · 0.85
useActivityQueryFunction · 0.85
invalidateActivityQueryFunction · 0.85
getActivityQueryDataFunction · 0.85
simulateFailedFetchFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected