MCPcopy
hub / github.com/nukeop/nuclear / set

Method set

packages/player/src/test/utils/inMemoryTauriStore.ts:30–37  ·  view source on GitHub ↗
(key: string, value: unknown)

Source from the content-addressed store, hash-verified

28 }
29
30 async set(key: string, value: unknown) {
31 let map = stores.get(this.#path);
32 if (!map) {
33 map = new Map<string, unknown>();
34 stores.set(this.#path, map);
35 }
36 map.set(String(key), value);
37 }
38
39 async save() {}
40

Callers 15

settings.test.tsxFile · 0.45
saveToDiskFunction · 0.45
saveToDiskFunction · 0.45
saveToDiskFunction · 0.45
settingsStore.tsFile · 0.45
playlistStore.tsFile · 0.45
saveToDiskFunction · 0.45
constructorMethod · 0.45
entriesMethod · 0.45
addEventListenerMethod · 0.45
removeEventListenerMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected