MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / add

Method add

Extension/src/Utility/Eventing/descriptor.ts:55–60  ·  view source on GitHub ↗
(key: string, ...values: string[])

Source from the content-addressed store, hash-verified

53 }
54
55 add(key: string, ...values: string[]) {
56 if (values.length) {
57 const set = getOrAdd(this, smash(key), () => new Set<string>());
58 values.forEach(each => set.add(each));
59 }
60 }
61}
62

Callers 15

constructorMethod · 0.95
constructorMethod · 0.45
addMisbehavingPromiseFunction · 0.45
resolveVariablesFunction · 0.45
onDataMethod · 0.45
resolveConfigIncludesFunction · 0.45
extractHostsFunction · 0.45
handleTerminalOutputFunction · 0.45
scanMethod · 0.45
scanFolderFunction · 0.45

Calls 3

getOrAddFunction · 0.90
smashFunction · 0.90
forEachMethod · 0.45

Tested by 1

constructorMethod · 0.36