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

Method lstatSync

lib/internal/vfs/file_system.js:249–252  ·  view source on GitHub ↗

* Gets stats for a path synchronously without following symlinks. * @param {string} filePath The path to stat * @param {object} [options] Options * @returns {Stats}

(filePath, options)

Source from the content-addressed store, hash-verified

247 * @returns {Stats}
248 */
249 lstatSync(filePath, options) {
250 const providerPath = this.#toProviderPath(filePath);
251 return this[kProvider].lstatSync(providerPath, options);
252 }
253
254 /**
255 * Reads a file synchronously.

Callers 1

rmSyncMethod · 0.95

Calls 1

#toProviderPathMethod · 0.95

Tested by

no test coverage detected