Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ assertDirents
Function
assertDirents
test/parallel/test-fs-glob.mjs:11–13 ·
view source on GitHub ↗
(dirents)
Source
from the content-addressed store, hash-verified
9
import
assert from
'node:assert'
;
10
11
function
assertDirents(dirents) {
12
assert.ok(dirents.every((dirent) => dirent instanceof Dirent));
13
}
14
15
tmpdir.refresh();
16
Callers
1
test-fs-glob.mjs
File · 0.70
Calls
2
every
Method · 0.80
ok
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…