Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ copyLink
Function
copyLink
lib/internal/fs/cp/cp.js:386–389 ·
view source on GitHub ↗
(resolvedSrc, dest)
Source
from the content-addressed store, hash-verified
384
}
385
386
async
function
copyLink(resolvedSrc, dest) {
387
await
unlink(dest);
388
return
symlink(resolvedSrc, dest);
389
}
390
391
module.exports = {
392
areIdentical,
Callers
1
onLink
Function · 0.70
Calls
2
unlink
Function · 0.50
symlink
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…