MCPcopy
hub / github.com/npmx-dev/npmx.dev / delete

Method delete

server/utils/cache/shared.ts:7–7  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

5 get<T>(key: string): Promise<T | undefined>
6 set<T>(key: string, value: T, ttl?: number): Promise<void>
7 delete(key: string): Promise<void>
8}

Callers 15

createMockConnectorAppFunction · 0.65
createConnectorAppFunction · 0.65
clearQueryOverrideFunction · 0.65
toggleDirFunction · 0.65
fetchDailyRangeCachedFunction · 0.65
fetchRepoRefsForPackagesFunction · 0.65
delMethod · 0.65

Implementers 2

RedisCacheAdapterserver/utils/cache/redis.ts
LocalCacheAdapterserver/utils/cache/local.ts

Calls

no outgoing calls

Tested by

no test coverage detected