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

Function getFilename

test/parallel/test-fs-stat-bigint.js:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13let testIndex = 0;
14
15function getFilename() {
16 const filename = tmpdir.resolve(`test-file-${++testIndex}`);
17 fs.writeFileSync(filename, 'test');
18 return filename;
19}
20
21function verifyStats(bigintStats, numStats, allowableDelta) {
22 // allowableDelta: It's possible that the file stats are updated between the

Callers 1

Calls 2

resolveMethod · 0.45
writeFileSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…