MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / delete

Method delete

backend/api/src/postgres-proxy/utils/cache.util.ts:120–122  ·  view source on GitHub ↗

* Deletes a specific key from cache

(key: string)

Source from the content-addressed store, hash-verified

118 * Deletes a specific key from cache
119 */
120 delete(key: string): boolean {
121 return this.cache.delete(key);
122 }
123
124 /**
125 * Deletes all keys matching a pattern

Callers 8

removeMethod · 0.45
cleanupExpiredTokensMethod · 0.45
deleteConnectionMethod · 0.45
getMethod · 0.45
deletePatternMethod · 0.45
cleanupMethod · 0.45
cache.util.spec.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected