MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / set

Function set

static/js/utils.js:802–809  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

800 },
801
802 set(key, value) {
803 try {
804 localStorage.setItem(key, JSON.stringify(value));
805 return true;
806 } catch {
807 return false;
808 }
809 },
810
811 remove(key) {
812 localStorage.removeItem(key);

Calls

no outgoing calls

Tested by

no test coverage detected