Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ copyLink
Function
copyLink
lib/internal/fs/cp/cp-sync.js:239–242 ·
view source on GitHub ↗
(resolvedSrc, dest)
Source
from the content-addressed store, hash-verified
237
}
238
239
function
copyLink(resolvedSrc, dest) {
240
unlinkSync(dest);
241
return
symlinkSync(resolvedSrc, dest);
242
}
243
244
module.exports = { cpSyncFn };
Callers
1
onLink
Function · 0.70
Calls
2
unlinkSync
Function · 0.85
symlinkSync
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…