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

Function nextDirPath

test/parallel/test-fs-rm.js:16–17  ·  view source on GitHub ↗
(name = 'rm')

Source from the content-addressed store, hash-verified

14
15let count = 0;
16const nextDirPath = (name = 'rm') =>
17 tmpdir.resolve(`${name}-${count++}`);
18
19const isGitPresent = (() => {
20 try { execSync('git --version'); return true; } catch { return false; }

Callers 1

test-fs-rm.jsFile · 0.85

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…