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

Function getDirentPath

test/sequential/test-fs-readdir-recursive.js:129–131  ·  view source on GitHub ↗
(dirent)

Source from the content-addressed store, hash-verified

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

Callers 1

assertDirentsFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…