MCPcopy
hub / github.com/ChromeDevTools/chrome-devtools-mcp / set

Method set

src/third_party/lighthouse-devtools-mcp-bundle.js:16341–16348  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

16339 }
16340 map = /* @__PURE__ */ new Map();
16341 set(key, value) {
16342 let set = this.map.get(key);
16343 if (!set) {
16344 set = /* @__PURE__ */ new Set();
16345 this.map.set(key, set);
16346 }
16347 set.add(value);
16348 }
16349 get(key) {
16350 return this.map.get(key) || /* @__PURE__ */ new Set();
16351 }

Callers 15

templateFunction · 0.45
newPageMethod · 0.45
createPagesSnapshotMethod · 0.45
#getAllPagesMethod · 0.45
addLogMethod · 0.45
#initializePageMethod · 0.45
addPageMethod · 0.45
assignIdsMethod · 0.45
createExtraNodeMethod · 0.45
insertExtraNodesMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected