@@ -374,11 +374,13 @@ value is determined by the `options.encoding` passed to [`fs.readdir()`][] or
374
374
added: v0.5.8
375
375
-->
376
376
377
+ * Extends {EventEmitter}
378
+
377
379
A successful call to [ ` fs.watch() ` ] [ ] method will return a new ` fs.FSWatcher `
378
380
object.
379
381
380
- All ` fs.FSWatcher ` objects are [ ` EventEmitter ` ] [ ] 's that will emit a ` 'change' `
381
- event whenever a specific watched file is modified.
382
+ All ` fs.FSWatcher ` objects emit a ` 'change' ` event whenever a specific watched
383
+ file is modified.
382
384
383
385
### Event: 'change'
384
386
<!-- YAML
@@ -437,11 +439,11 @@ Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the
437
439
added: v0.1.93
438
440
-->
439
441
442
+ * Extends: {stream.Readable}
443
+
440
444
A successful call to ` fs.createReadStream() ` will return a new ` fs.ReadStream `
441
445
object.
442
446
443
- All ` fs.ReadStream ` objects are [ Readable Streams] [ ] .
444
-
445
447
### Event: 'close'
446
448
<!-- YAML
447
449
added: v0.1.93
@@ -860,7 +862,7 @@ of 0.12, `ctime` is not "creation time", and on Unix systems, it never was.
860
862
added: v0.1.93
861
863
-->
862
864
863
- ` WriteStream ` is a [ Writable Stream ] [ ] .
865
+ * Extends {stream.Writable}
864
866
865
867
### Event: 'close'
866
868
<!-- YAML
@@ -1536,7 +1538,7 @@ changes:
1536
1538
* ` start ` {integer}
1537
1539
* ` end ` {integer} ** Default:** ` Infinity `
1538
1540
* ` highWaterMark ` {integer} ** Default:** ` 64 * 1024 `
1539
- * Returns: {fs.ReadStream} See [ Readable Streams ] [ ] .
1541
+ * Returns: {fs.ReadStream}
1540
1542
1541
1543
Unlike the 16 kb default ` highWaterMark ` for a readable stream, the stream
1542
1544
returned by this method has a default ` highWaterMark ` of 64 kb.
@@ -1628,7 +1630,7 @@ changes:
1628
1630
* ` autoClose ` {boolean} ** Default:** ` true `
1629
1631
* ` emitClose ` {boolean} ** Default:** ` false `
1630
1632
* ` start ` {integer}
1631
- * Returns: {fs.WriteStream} See [ Writable Stream ] [ ] .
1633
+ * Returns: {fs.WriteStream}
1632
1634
1633
1635
` options ` may also include a ` start ` option to allow writing data at
1634
1636
some position past the beginning of the file, allowed values are in the
@@ -5210,7 +5212,6 @@ the file contents.
5210
5212
[ `AHAFS` ] : https://www.ibm.com/developerworks/aix/library/au-aix_event_infrastructure/
5211
5213
[ `Buffer.byteLength` ] : buffer.html#buffer_class_method_buffer_bytelength_string_encoding
5212
5214
[ `Buffer` ] : buffer.html#buffer_buffer
5213
- [ `EventEmitter` ] : events.html
5214
5215
[ `FSEvents` ] : https://developer.apple.com/documentation/coreservices/file_system_events
5215
5216
[ `ReadDirectoryChangesW` ] : https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-readdirectorychangesw
5216
5217
[ `ReadStream` ] : #fs_class_fs_readstream
@@ -5264,8 +5265,6 @@ the file contents.
5264
5265
[ MSDN-Rel-Path ] : https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#fully-qualified-vs-relative-paths
5265
5266
[ MSDN-Using-Streams ] : https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams
5266
5267
[ Naming Files, Paths, and Namespaces ] : https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file
5267
- [ Readable Streams ] : stream.html#stream_class_stream_readable
5268
- [ Writable Stream ] : stream.html#stream_class_stream_writable
5269
5268
[ chcp ] : https://ss64.com/nt/chcp.html
5270
5269
[ inode ] : https://en.wikipedia.org/wiki/Inode
5271
5270
[ support of file system `flags` ] : #fs_file_system_flags
0 commit comments