Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/rollup/plugins
/ resolveSymlink
Function
resolveSymlink
packages/node-resolve/src/fs.ts:20–22 ·
view source on GitHub ↗
(path: fs.PathLike)
Source
from the content-addressed store, hash-verified
18
}
19
20
export
async
function
resolveSymlink(path: fs.PathLike) {
21
return
(
await
fileExists(path)) ? realpath(path) : path;
22
}
Callers
2
resolveIdClassic
Function · 0.90
resolveWithExportMap
Function · 0.90
Calls
1
fileExists
Function · 0.85
Tested by
no test coverage detected