MCPcopy 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

9import assert from 'node:assert';
10
11function assertDirents(dirents) {
12 assert.ok(dirents.every((dirent) => dirent instanceof Dirent));
13}
14
15tmpdir.refresh();
16

Callers 1

test-fs-glob.mjsFile · 0.70

Calls 2

everyMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…