Function: portableRealpathSync()¶
portableRealpathSync(
path):string
Defined in: core/src/utils/realpath.ts:16
realpathSync that works across runtimes. Node exposes the faster realpathSync.native binding, but Deno only implements realpathSync, so the native path is probed and used only where it exists. Results are identical on both runtimes.
Parameters¶
path¶
string
Absolute or relative path to resolve
Returns¶
string
The fully resolved canonical path