MCPcopy
hub / github.com/AstrBotDevs/AstrBot / setItem

Function setItem

dashboard/tests/extensionPreferenceStorage.test.mjs:39–41  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

37 const writes = [];
38 const storage = {
39 setItem(key, value) {
40 writes.push([key, value]);
41 },
42 };
43
44 writePinnedExtensions(['alpha', 'beta', 'alpha', '', null], storage);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected