doc: fix two sorting nits in fs.md

PR-URL: https://github.com/nodejs/node/pull/20078
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Vse Mozhet Byt authored and James M Snell committed 2018-04-16 16:21:04 -07:00
1 parent eca96f57fd
commit fc0ddaa114
1 file changed
+14 -14
+14 -14
View File
@@ -320,6 +320,13 @@ fs.watch('./tmp', { encoding: 'buffer' }, (eventType, filename) => {
});
```
### Event: 'close'
<!-- YAML
added: REPLACEME
-->
Emitted when the watcher stops watching for changes.
### Event: 'error'
<!-- YAML
added: v0.5.8
@@ -329,13 +336,6 @@ added: v0.5.8
Emitted when an error occurs while watching the file.
### Event: 'close'
<!-- YAML
added: REPLACEME
-->
Emitted when the watcher stops watching for changes.
### watcher.close()
<!-- YAML
added: v0.5.8
@@ -3465,13 +3465,6 @@ use a simple numeric file descriptor, all `fsPromises.*` variations use the
`FileHandle` class in order to help protect against accidental leaking of
unclosed file descriptors after a `Promise` is resolved or rejected.
#### filehandle.fd
<!-- YAML
added: REPLACEME
-->
* {number} The numeric file descriptor managed by the `FileHandle` object.
#### filehandle.appendFile(data, options)
<!-- YAML
added: REPLACEME
@@ -3544,6 +3537,13 @@ added: REPLACEME
Asynchronous fdatasync(2). The `Promise` is resolved with no arguments upon
success.
#### filehandle.fd
<!-- YAML
added: REPLACEME
-->
* {number} The numeric file descriptor managed by the `FileHandle` object.
#### filehandle.read(buffer, offset, length, position)
<!-- YAML
added: REPLACEME