Skip to content

Commit 4039ef1

Browse files
firedfoxsilverwind
authored andcommitted
doc: remove redundant parameter comments from fs
Some old version parameter comments are left in fs.markdown. Remove them. PR-URL: #5952 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent bb28770 commit 4039ef1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

doc/api/fs.markdown

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -821,9 +821,6 @@ The callback is given the three arguments, `(err, bytesRead, buffer)`.
821821
* `encoding` {String} default = `'utf8'`
822822
* `callback` {Function}
823823

824-
* `path` {String}
825-
* `callback` {Function}
826-
827824
Asynchronous readdir(3). Reads the contents of a directory.
828825
The callback gets two arguments `(err, files)` where `files` is an array of
829826
the names of the files in the directory excluding `'.'` and `'..'`.
@@ -839,8 +836,6 @@ the filenames returned will be passed as `Buffer` objects.
839836
* `options` {String | Object}
840837
* `encoding` {String} default = `'utf8'`
841838

842-
* `path` {String}
843-
844839
Synchronous readdir(3). Returns an array of filenames excluding `'.'` and
845840
`'..'`.
846841

@@ -900,9 +895,6 @@ string. Otherwise it returns a buffer.
900895
* `encoding` {String} default = `'utf8'`
901896
* `callback` {Function}
902897

903-
* `path` {String}
904-
* `callback` {Function}
905-
906898
Asynchronous readlink(2). The callback gets two arguments `(err,
907899
linkString)`.
908900

@@ -917,8 +909,6 @@ the link path returned will be passed as a `Buffer` object.
917909
* `options` {String | Object}
918910
* `encoding` {String} default = `'utf8'`
919911

920-
* `path` {String}
921-
922912
Synchronous readlink(2). Returns the symbolic link's string value.
923913

924914
The optional `options` argument can be a string specifying an encoding, or an

0 commit comments

Comments
 (0)