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

Function getDirentPath

test/sequential/test-fs-opendir-recursive.js:130–132  ·  view source on GitHub ↗
(dirent)

Source from the content-addressed store, hash-verified

128}
129
130function getDirentPath(dirent) {
131 return pathModule.relative(testDir, pathModule.join(dirent.parentPath, dirent.name));
132}
133
134function assertDirents(dirents) {
135 assert.strictEqual(dirents.length, expected.length);

Callers 1

assertDirentsFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected