MCPcopy 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
20export async function resolveSymlink(path: fs.PathLike) {
21 return (await fileExists(path)) ? realpath(path) : path;
22}

Callers 2

resolveIdClassicFunction · 0.90
resolveWithExportMapFunction · 0.90

Calls 1

fileExistsFunction · 0.85

Tested by

no test coverage detected