MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / _cacheKeys

Function _cacheKeys

_datafiles/html/admin/static/js/api.js:58–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 function _cacheKeys() {
59 const keys = [];
60 try {
61 for (let i = 0; i < sessionStorage.length; i++) {
62 const k = sessionStorage.key(i);
63 if (k && k.startsWith(CACHE_PREFIX)) {
64 keys.push(k.slice(CACHE_PREFIX.length));
65 }
66 }
67 } catch (_) {}
68 return keys;
69 }
70
71 // /admin/api/v1/items/attack-messages -> /admin/api/v1/items
72 function _rootPath(path) {

Callers 2

_invalidateFunction · 0.85
clearCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected