Optional
options: EncodingOptionSynchronous realpath(3) - return the canonicalized absolute pathname.
A path to a file. If a URL is provided, it must use the file:
protocol.
The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, 'utf8'
is used.
Synchronous realpath(3) - return the canonicalized absolute pathname.
A path to a file. If a URL is provided, it must use the file:
protocol.
Optional
options: EncodingOptionThe encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, 'utf8'
is used.
Returns the resolved pathname.
For detailed information, see the documentation of the asynchronous version of this API: realpath.
Since
v0.1.31