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

Function readlink

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

Source from the content-addressed store, hash-verified

257}
258
259function readlink() {
260 const fs = require('fs');
261 fs.writeFileSync('fs29.txt', '123', 'utf8');
262 fs.symlinkSync('fs29.txt', 'fs30.txt');
263 fs.readlink('fs30.txt', () => {
264 fs.unlinkSync('fs29.txt');
265 fs.unlinkSync('fs30.txt');
266 });
267}
268// The key defined in get_fs_name_by_type function in node_file.cc and node_dir.cc
269tests.access = wrapper(access);
270tests.chmod = wrapper(chmod);

Callers 1

doTestFunction · 0.70

Calls 5

requireFunction · 0.50
writeFileSyncMethod · 0.45
symlinkSyncMethod · 0.45
readlinkMethod · 0.45
unlinkSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…