MCPcopy Create free account
hub / github.com/nodejs/node / statSync

Method statSync

lib/internal/vfs/file_handle.js:215–218  ·  view source on GitHub ↗

* Gets file stats synchronously. * @param {object} [options] Options * @throws {ERR_METHOD_NOT_IMPLEMENTED} When not implemented by subclass

(options)

Source from the content-addressed store, hash-verified

213 * @throws {ERR_METHOD_NOT_IMPLEMENTED} When not implemented by subclass
214 */
215 statSync(options) {
216 this.#checkClosed('fstat');
217 throw new ERR_METHOD_NOT_IMPLEMENTED('statSync');
218 }
219
220 /**
221 * Truncates the file.

Callers

nothing calls this directly

Calls 1

#checkClosedMethod · 0.95

Tested by

no test coverage detected