Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 733 Bytes

fs_readlinksync_path_options.md

File metadata and controls

20 lines (16 loc) · 733 Bytes
  • path {string|Buffer|URL}
  • options {string|Object}
    • encoding {string} Default: 'utf8'

Synchronous readlink(2). Returns the symbolic link's string value.

The optional options argument can be a string specifying an encoding, or an object with an encoding property specifying the character encoding to use for the link path passed to the callback. If the encoding is set to 'buffer', the link path returned will be passed as a Buffer object.