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

Function verifyStatObject

test/parallel/test-fs-promises.js:80–84  ·  view source on GitHub ↗
(stat)

Source from the content-addressed store, hash-verified

78}
79
80function verifyStatObject(stat) {
81 assert.strictEqual(typeof stat, 'object');
82 assert.strictEqual(typeof stat.dev, 'number');
83 assert.strictEqual(typeof stat.mode, 'number');
84}
85
86function verifyStatFsObject(stat, isBigint = false) {
87 const valueType = isBigint ? 'bigint' : 'number';

Callers 1

doTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…