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

Function realpath

test/parallel/test-trace-events-fs-async.js:195–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193}
194
195function realpath() {
196 const fs = require('fs');
197 fs.writeFileSync('fs18.txt', '123', 'utf8');
198 fs.linkSync('fs18.txt', 'fs19.txt');
199 fs.realpath.native('fs19.txt', () => {
200 fs.unlinkSync('fs18.txt');
201 fs.unlinkSync('fs19.txt');
202 });
203}
204
205function rename() {
206 const fs = require('fs');

Callers 7

test_up_multipleFunction · 0.70
test_rootFunction · 0.70
doTestFunction · 0.70

Calls 4

requireFunction · 0.50
writeFileSyncMethod · 0.45
linkSyncMethod · 0.45
unlinkSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…