Instructions for the fs.readlinkSync method in node.js
- 2020-05-05 10:56:04
- OfStack
method description:
Synchronous version of readlink().
syntax:
fs.readlinkSync(path)
Since this method belongs to the fs module, it is necessary to introduce the fs module (var fs= require(" fs "))
before using itreceive parameters:
path
source:
fs.readlinkSync = function(path) {
nullCheck(path);
return binding.readlink(pathModule._makeLong(path));
};