diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-01-23 05:05:31 +0200 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-01-23 12:48:59 +0200 |
commit | 9870b538104564592e9da365df779873103d42b5 (patch) | |
tree | 657f7e044d2fd5f64dc72f8b2ce0bb33be60a556 /doc | |
parent | f5d9169dedb053946c7b71f146b6b757dccbe61b (diff) | |
download | android-node-v8-9870b538104564592e9da365df779873103d42b5.tar.gz android-node-v8-9870b538104564592e9da365df779873103d42b5.tar.bz2 android-node-v8-9870b538104564592e9da365df779873103d42b5.zip |
doc: remove confusing signature in fs.md
PR-URL: https://github.com/nodejs/node/pull/18310
Fixes: https://github.com/nodejs/node/issues/18305
Refs: https://github.com/nodejs/node/pull/13424
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/fs.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md index f2430b0da0..795428af29 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2761,9 +2761,8 @@ added: v0.1.31 --> * `filename` {string|Buffer} -* `listener` {Function|undefined} **Default:** `undefined` - * `eventType` {string} - * `filename` {string|Buffer} +* `listener` {Function} Optional, a listener previously attached using + `fs.watchFile()` Stop watching for changes on `filename`. If `listener` is specified, only that particular listener is removed. Otherwise, *all* listeners are removed, |