MCPcopy Create free account
hub / github.com/Bistutu/FluentRead / localGet

Function localGet

entrypoints/utils/cache.ts:42–47  ·  view source on GitHub ↗
(origin: string)

Source from the content-addressed store, hash-verified

40 },
41
42 localGet(origin: string) {
43 // 如果禁用缓存,则始终返回 null
44 if (!config.useCache) return null;
45
46 return localStorage.getItem(buildKey(origin));
47 },
48
49 localRemove(origin: string) {
50 const key = buildKey(origin);

Callers

nothing calls this directly

Calls 1

buildKeyFunction · 0.85

Tested by

no test coverage detected