MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / createStorage

Function createStorage

src/hooks/profilesStorage.test.ts:197–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195});
196
197function createStorage() {
198 const values = new Map<string, string>();
199 return {
200 getItem: (key: string) => values.get(key) ?? null,
201 setItem: (key: string, value: string) => {
202 values.set(key, value);
203 },
204 };
205}

Callers 1

Calls 1

getMethod · 0.80

Tested by

no test coverage detected