@@ -1678,13 +1678,13 @@ OR of two or more values (e.g.
1678
1678
` fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE ` ).
1679
1679
1680
1680
* ` fs.constants.COPYFILE_EXCL ` : The copy operation will fail if ` dest ` already
1681
- exists.
1681
+ exists.
1682
1682
* ` fs.constants.COPYFILE_FICLONE ` : The copy operation will attempt to create a
1683
- copy-on-write reflink. If the platform does not support copy-on-write, then a
1684
- fallback copy mechanism is used.
1683
+ copy-on-write reflink. If the platform does not support copy-on-write, then a
1684
+ fallback copy mechanism is used.
1685
1685
* ` fs.constants.COPYFILE_FICLONE_FORCE ` : The copy operation will attempt to
1686
- create a copy-on-write reflink. If the platform does not support copy-on-write,
1687
- then the operation will fail.
1686
+ create a copy-on-write reflink. If the platform does not support
1687
+ copy-on-write, then the operation will fail.
1688
1688
1689
1689
``` js
1690
1690
const fs = require (' fs' );
@@ -1727,13 +1727,13 @@ OR of two or more values (e.g.
1727
1727
` fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE ` ).
1728
1728
1729
1729
* ` fs.constants.COPYFILE_EXCL ` : The copy operation will fail if ` dest ` already
1730
- exists.
1730
+ exists.
1731
1731
* ` fs.constants.COPYFILE_FICLONE ` : The copy operation will attempt to create a
1732
- copy-on-write reflink. If the platform does not support copy-on-write, then a
1733
- fallback copy mechanism is used.
1732
+ copy-on-write reflink. If the platform does not support copy-on-write, then a
1733
+ fallback copy mechanism is used.
1734
1734
* ` fs.constants.COPYFILE_FICLONE_FORCE ` : The copy operation will attempt to
1735
- create a copy-on-write reflink. If the platform does not support copy-on-write,
1736
- then the operation will fail.
1735
+ create a copy-on-write reflink. If the platform does not support
1736
+ copy-on-write, then the operation will fail.
1737
1737
1738
1738
``` js
1739
1739
const fs = require (' fs' );
@@ -1780,7 +1780,7 @@ changes:
1780
1780
* ` path ` {string|Buffer|URL}
1781
1781
* ` options ` {string|Object}
1782
1782
* ` flags ` {string} See [ support of file system ` flags ` ] [ ] . ** Default:**
1783
- ` 'r' ` .
1783
+ ` 'r' ` .
1784
1784
* ` encoding ` {string} ** Default:** ` null `
1785
1785
* ` fd ` {integer} ** Default:** ` null `
1786
1786
* ` mode ` {integer} ** Default:** ` 0o666 `
@@ -1885,7 +1885,7 @@ changes:
1885
1885
* ` path ` {string|Buffer|URL}
1886
1886
* ` options ` {string|Object}
1887
1887
* ` flags ` {string} See [ support of file system ` flags ` ] [ ] . ** Default:**
1888
- ` 'w' ` .
1888
+ ` 'w' ` .
1889
1889
* ` encoding ` {string} ** Default:** ` 'utf8' `
1890
1890
* ` fd ` {integer} ** Default:** ` null `
1891
1891
* ` mode ` {integer} ** Default:** ` 0o666 `
@@ -3129,11 +3129,11 @@ system requests but rather the internal buffering `fs.readFile` performs.
3129
3129
3130
3130
1 . Any specified file descriptor has to support reading.
3131
3131
2 . If a file descriptor is specified as the ` path ` , it will not be closed
3132
- automatically.
3132
+ automatically.
3133
3133
3 . The reading will begin at the current position. For example, if the file
3134
- already had ` 'Hello World ` ' and six bytes are read with the file descriptor,
3135
- the call to ` fs.readFile() ` with the same file descriptor, would give
3136
- ` 'World' ` , rather than ` 'Hello World' ` .
3134
+ already had ` 'Hello World ` ' and six bytes are read with the file descriptor,
3135
+ the call to ` fs.readFile() ` with the same file descriptor, would give
3136
+ ` 'World' ` , rather than ` 'Hello World' ` .
3137
3137
3138
3138
## ` fs.readFileSync(path[, options]) `
3139
3139
<!-- YAML
@@ -5227,13 +5227,13 @@ OR of two or more values (e.g.
5227
5227
` fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE ` ).
5228
5228
5229
5229
* ` fs.constants.COPYFILE_EXCL ` : The copy operation will fail if ` dest ` already
5230
- exists.
5230
+ exists.
5231
5231
* ` fs.constants.COPYFILE_FICLONE ` : The copy operation will attempt to create a
5232
- copy-on-write reflink. If the platform does not support copy-on-write, then a
5233
- fallback copy mechanism is used.
5232
+ copy-on-write reflink. If the platform does not support copy-on-write, then a
5233
+ fallback copy mechanism is used.
5234
5234
* ` fs.constants.COPYFILE_FICLONE_FORCE ` : The copy operation will attempt to
5235
- create a copy-on-write reflink. If the platform does not support copy-on-write,
5236
- then the operation will fail.
5235
+ create a copy-on-write reflink. If the platform does not support
5236
+ copy-on-write, then the operation will fail.
5237
5237
5238
5238
``` js
5239
5239
const {
@@ -6133,7 +6133,7 @@ string.
6133
6133
* ` 'wx' ` : Like ` 'w' ` but fails if the path exists.
6134
6134
6135
6135
* ` 'w+' ` : Open file for reading and writing.
6136
- The file is created (if it does not exist) or truncated (if it exists).
6136
+ The file is created (if it does not exist) or truncated (if it exists).
6137
6137
6138
6138
* ` 'wx+' ` : Like ` 'w+' ` but fails if the path exists.
6139
6139
0 commit comments