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

Function symlink

lib/internal/vfs/setup.js:613–615  ·  view source on GitHub ↗
(target, path, type)

Source from the content-addressed store, hash-verified

611 });
612 },
613 symlink(target, path, type) {
614 return vfsOp(path, (vfs, n) => vfs.promises.symlink(target, n, type).then(() => true));
615 },
616 truncate: (path, len) =>
617 vfsOp(path, (vfs, n) => vfs.promises.truncate(n, len).then(() => true)),
618 link(existingPath, newPath) {

Callers

nothing calls this directly

Calls 3

vfsOpFunction · 0.85
thenMethod · 0.45
symlinkMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…