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

Function getTempFile

test/parallel/test-fastutf8stream-minlength.js:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14let fileCounter = 0;
15
16function getTempFile() {
17 return join(tmpdir.path, `fastutf8stream-${process.pid}-${Date.now()}-${fileCounter++}.log`);
18}
19
20const MAX_WRITE = 16 * 1024;
21

Calls 2

nowMethod · 0.80
joinFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…