MCPcopy
hub / github.com/coder/mux / get

Method get

src/browser/utils/lruCache.ts:30–30  ·  view source on GitHub ↗

Get cached value, or null if not found/expired

(key: string)

Source from the content-addressed store, hash-verified

28export interface LRUCache<T> {
29 /** Get cached value, or null if not found/expired */
30 get(key: string): T | null;
31 /** Get the full entry with metadata, or null if not found/expired */
32 getEntry(key: string): LRUCacheEntry<T> | null;
33 /** Store a value in the cache */

Callers 15

AppInnerFunction · 0.65
handleForkSwitchFunction · 0.65
navigateToWorkspaceFunction · 0.65
handleResponseCompleteFunction · 0.65
computeSidebarTaskGroupsFunction · 0.65
handleKeyDownFunction · 0.65
handleRemoveSectionFunction · 0.65
ProjectSidebarInnerFunction · 0.65
getDraftSectionIdFunction · 0.65

Calls

no outgoing calls

Tested by 15

getWorkspaceSubscribersFunction · 0.52
getMockWorkspaceStateFunction · 0.52
createMockLocalStorageFunction · 0.52
emitFunction · 0.52
getListenerCountFunction · 0.52
emitFunction · 0.52
getListenerCountFunction · 0.52
getItemFunction · 0.52
cancelAnimationFrameMockFunction · 0.52