Method description:
Synchronous version of readlink().
grammar:
The code copy is as follows:
fs.readlinkSync(path)
Since this method belongs to the FS module, it is necessary to introduce the FS module before use (var fs= require("fs") )
Receive parameters:
path path
Source code:
The code copy is as follows:
fs.readlinkSync = function(path) {
nullCheck(path);
return binding.readlink(pathModule._makeLong(path));
};