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

Function _cacheGet

_datafiles/html/admin/static/js/api.js:34–42  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

32 }
33
34 function _cacheGet(path) {
35 try {
36 const raw = sessionStorage.getItem(_cacheKey(path));
37 if (!raw) return undefined;
38 return JSON.parse(raw);
39 } catch (_) {
40 return undefined;
41 }
42 }
43
44 function _cacheSet(path, entry) {
45 try {

Callers 1

getFunction · 0.85

Calls 1

_cacheKeyFunction · 0.85

Tested by

no test coverage detected