MCPcopy Create free account
hub / github.com/openscopeproject/InteractiveHtmlBom / readStorage

Function readStorage

InteractiveHtmlBom/web/util.js:24–30  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

22}
23
24function readStorage(key) {
25 if (storage) {
26 return storage.getItem(storagePrefix + key);
27 } else {
28 return null;
29 }
30}
31
32function writeStorage(key, value) {
33 if (storage) {

Callers 3

initDefaultsFunction · 0.85
initBooleanSettingFunction · 0.85
getStoredCheckboxRefsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected