-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Description
It is very common to call fs.readFile with the encoding name directly as the 2nd argument. Like
fs.readFile('my_file.txt', 'utf8', cb)
Yet this call signature is not clearly documented:
https://iojs.org/api/fs.html#fs_fs_readfile_filename_options_callback (link date 2015-05-26)
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.