MCPcopy Index your code
hub / github.com/nodejs/node / nextId

Method nextId

lib/internal/test_runner/snapshot.js:84–88  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

82 }
83
84 nextId(name) {
85 const count = this.nameCounts.get(name) ?? 1;
86 this.nameCounts.set(name, count + 1);
87 return `${name} ${count}`;
88 }
89
90 readFile() {
91 if (this.loaded) {

Callers 2

createAssertMethod · 0.80

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected