MCPcopy Create free account
hub / github.com/echoVic/blade-code / getCompressedContext

Method getCompressedContext

src/context/storage/CacheStore.ts:172–175  ·  view source on GitHub ↗

* 获取缓存的压缩上下文

(contextHash: string)

Source from the content-addressed store, hash-verified

170 * 获取缓存的压缩上下文
171 */
172 getCompressedContext(contextHash: string): any {
173 const key = `compressed:${contextHash}`;
174 return this.get(key);
175 }
176
177 /**
178 * 获取缓存统计信息

Callers 1

getFormattedContextMethod · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected