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

Method realpathSync

lib/internal/vfs/provider.js:438–443  ·  view source on GitHub ↗

* Gets the real path synchronously. * @param {string} path The path * @param {object} [options] Options * @returns {string}

(path, options)

Source from the content-addressed store, hash-verified

436 * @returns {string}
437 */
438 realpathSync(path, options) {
439 // Default: return the path as-is (for providers without symlinks)
440 // First verify the path exists
441 this.statSync(path);
442 return path;
443 }
444
445 /**
446 * Checks file accessibility.

Callers 1

realpathSyncFunction · 0.45

Calls 1

statSyncMethod · 0.95

Tested by

no test coverage detected