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

Method stat

lib/internal/vfs/file_handle.js:670–672  ·  view source on GitHub ↗

* Gets file stats. * @param {object} [options] Options * @returns {Promise }

(options)

Source from the content-addressed store, hash-verified

668 * @returns {Promise<Stats>}
669 */
670 async stat(options) {
671 return this.statSync(options);
672 }
673
674 /**
675 * Truncates the file synchronously.

Callers

nothing calls this directly

Calls 1

statSyncMethod · 0.95

Tested by

no test coverage detected