MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / add

Method add

static/identifier-set.ts:28–30  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

26 private readonly items: Map<number, boolean> = new Map();
27
28 public add(id: number): void {
29 this.items.set(id, true);
30 }
31
32 public remove(id: number): void {
33 this.items.delete(id);

Callers 1

nextMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected