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

Function statSync

test/fixtures/snapshot/typescript.js:7091–7094  ·  view source on GitHub ↗

* `throwIfNoEntry` was added so recently that it's not in the node types. * This helper encapsulates the mitigating usage of `any`. * See https://github.com/nodejs/node/pull/33716

(path)

Source from the content-addressed store, hash-verified

7089 * See https://github.com/nodejs/node/pull/33716
7090 */
7091 function statSync(path) {
7092 // throwIfNoEntry will be ignored by older versions of node
7093 return _fs.statSync(path, { throwIfNoEntry: false });
7094 }
7095 /**
7096 * Uses the builtin inspector APIs to capture a CPU profile
7097 * See https://nodejs.org/api/inspector.html#inspector_example_usage for details

Calls 1

statSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…