MCPcopy Create free account
hub / github.com/RealDevSquad/website-backend / removeCachedKey

Function removeCachedKey

utils/cache.js:123–127  ·  view source on GitHub ↗
(modelKey, cachedKey)

Source from the content-addressed store, hash-verified

121 const removeModelKey = (modelKey) => {
122 keyStore.delete(modelKey);
123 };
124
125 /**
126 * remove a value(cachedKey) for the given key(modelKey)
127 * @param {string} modelKey key for the map
128 * @param {string} cachedKey value for the given key
129 *
130 */

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected