MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / readStored

Function readStored

apps/kimi-web/src/composables/useResizable.ts:37–46  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

35}
36
37function readStored(key: string): number | null {
38 try {
39 const raw = safeGetString(key);
40 if (raw === null) return null;
41 const n = Number(raw);
42 return Number.isFinite(n) ? n : null;
43 } catch {
44 return null;
45 }
46}
47
48function writeStored(key: string, value: number): void {
49 try {

Callers 1

useResizableFunction · 0.70

Calls 1

safeGetStringFunction · 0.90

Tested by

no test coverage detected