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

Function localSetDual

entrypoints/utils/cache.ts:34–40  ·  view source on GitHub ↗
(key: string, value: string)

Source from the content-addressed store, hash-verified

32 },
33
34 localSetDual(key: string, value: string) {
35 // 如果禁用缓存,则不执行任何操作
36 if (!config.useCache) return;
37
38 this.localSet(value, key);
39 this.localSet(key, value);
40 },
41
42 localGet(origin: string) {
43 // 如果禁用缓存,则始终返回 null

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected