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

Method delete

src/context/storage/CacheStore.ts:93–95  ·  view source on GitHub ↗

* 删除缓存项

(key: string)

Source from the content-addressed store, hash-verified

91 * 删除缓存项
92 */
93 delete(key: string): boolean {
94 return this.cache.delete(key);
95 }
96
97 /**
98 * 清空缓存

Callers 13

unregisterToolMethod · 0.80
callToolMethod · 0.80
deleteRoleMethod · 0.80
deleteTaskMethod · 0.80
deleteTemplateMethod · 0.80
getMethod · 0.80
hasMethod · 0.80
cleanExpiredMethod · 0.80
evictLeastUsedMethod · 0.80
disconnectMethod · 0.80
handleConnectionMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected