MCPcopy
hub / github.com/graphif/project-graph / set

Method set

app/src/utils/store.tsx:88–90  ·  view source on GitHub ↗
(key: string, value: any)

Source from the content-addressed store, hash-verified

86 }
87 async save() {}
88 async set(key: string, value: any) {
89 localStorage.setItem(`${this.name}_${key}`, JSON.stringify(value));
90 }
91 async values<T>() {
92 const result: T[] = [];
93 for (let i = 0; i < localStorage.length; i++) {

Callers 15

initAuthFunction · 0.45
onCloseFunction · 0.45
useResolveSuggestionFunction · 0.45
MediaToolbarFunction · 0.45
useResolvedDiscussionFunction · 0.45
showTreeValidationErrorsFunction · 0.45
getTextSizeFunction · 0.45
AttachmentsWindowFunction · 0.45
ColorPaletteWindowFunction · 0.45
BackgroundManagerWindowFunction · 0.45
FileThumbnailFunction · 0.45
AccountTabFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected