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

Function realpathSync

lib/internal/vfs/setup.js:240–246  ·  view source on GitHub ↗
(path, options)

Source from the content-addressed store, hash-verified

238 }
239 },
240 realpathSync(path, options) {
241 const result = vfsRead(path, 'realpath', (vfs, n) => vfs.realpathSync(n));
242 if (result !== undefined && options?.encoding === 'buffer') {
243 return Buffer.from(result);
244 }
245 return result;
246 },
247 accessSync(path, mode) {
248 const pathStr = toPathStr(path);
249 if (pathStr !== null) {

Callers 1

realpathSyncMethod · 0.50

Calls 3

vfsReadFunction · 0.85
realpathSyncMethod · 0.45
fromMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…