MCPcopy
hub / github.com/msgbyte/tianji / del

Function del

src/server/cache/index.ts:114–121  ·  view source on GitHub ↗
(...args: Args)

Source from the content-addressed store, hash-verified

112 };
113
114 const del = async (...args: Args) => {
115 const key = buildKey(...args);
116
117 memCache.delete(key);
118
119 const cacheManager = await getCacheManager();
120 await cacheManager.delete(key);
121 };
122
123 return { get, del, update };
124}

Callers

nothing calls this directly

Calls 3

buildKeyFunction · 0.85
getCacheManagerFunction · 0.85
deleteMethod · 0.65

Tested by

no test coverage detected