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

Function get

static/js/utils.js:793–800  ·  view source on GitHub ↗
(key, defaultValue = null)

Source from the content-addressed store, hash-verified

791
792const storage = {
793 get(key, defaultValue = null) {
794 try {
795 const value = localStorage.getItem(key);
796 return value ? JSON.parse(value) : defaultValue;
797 } catch {
798 return defaultValue;
799 }
800 },
801
802 set(key, value) {
803 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected