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

Function _cacheSet

_datafiles/html/admin/static/js/api.js:44–50  ·  view source on GitHub ↗
(path, entry)

Source from the content-addressed store, hash-verified

42 }
43
44 function _cacheSet(path, entry) {
45 try {
46 sessionStorage.setItem(_cacheKey(path), JSON.stringify(entry));
47 } catch (_) {
48 // sessionStorage full or unavailable; skip caching
49 }
50 }
51
52 function _cacheDelete(path) {
53 try {

Callers 1

getFunction · 0.85

Calls 1

_cacheKeyFunction · 0.85

Tested by

no test coverage detected