MCPcopy Index your code
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / localGet

Function localGet

javascript/localStorage.js:10–18  ·  view source on GitHub ↗
(k, def)

Source from the content-addressed store, hash-verified

8}
9
10function localGet(k, def) {
11 try {
12 return localStorage.getItem(k);
13 } catch (e) {
14 console.warn(`Failed to load ${k} from localStorage: ${e}`);
15 }
16
17 return def;
18}
19
20function localRemove(k) {
21 try {

Callers 3

restoreProgressTxt2imgFunction · 0.85
restoreProgressImg2imgFunction · 0.85
ui.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected