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

Method lstat

lib/internal/vfs/provider.js:106–109  ·  view source on GitHub ↗

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

(path, options)

Source from the content-addressed store, hash-verified

104 * @returns {Promise<Stats>}
105 */
106 async lstat(path, options) {
107 // Default: same as stat (for providers that don't support symlinks)
108 return this.stat(path, options);
109 }
110
111 /**
112 * Gets stats for a path synchronously without following symlinks.

Callers 15

lstatFunction · 0.45
lstatSyncFunction · 0.45
realpathSyncFunction · 0.45
realpathFunction · 0.45
LOOPFunction · 0.45
gotResolvedLinkFunction · 0.45
lstatFunction · 0.45
lstatFunction · 0.45
getDirentsFunction · 0.45
getDirentFunction · 0.45
utils.jsFile · 0.45

Calls 1

statMethod · 0.95

Tested by

no test coverage detected