MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / deleteEntry

Function deleteEntry

src/cache.js:62–68  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

60}
61
62function deleteEntry(key) {
63 const entry = _store.get(key);
64 if (!entry) return false;
65 _store.delete(key);
66 _bytes = Math.max(0, _bytes - (Number(entry.bytes) || 0));
67 return true;
68}
69
70function digestBase64Data(data = '', mime = '') {
71 const compact = String(data).replace(/\s/g, '');

Callers 2

cacheGetFunction · 0.85
cacheSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected