@@ -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' );
@@ -1778,7 +1778,7 @@ changes:
1778
1778
* ` path ` {string|Buffer|URL}
1779
1779
* ` options ` {string|Object}
1780
1780
* ` flags ` {string} See [ support of file system ` flags ` ] [ ] . ** Default:**
1781
- ` 'r' ` .
1781
+ ` 'r' ` .
1782
1782
* ` encoding ` {string} ** Default:** ` null `
1783
1783
* ` fd ` {integer} ** Default:** ` null `
1784
1784
* ` mode ` {integer} ** Default:** ` 0o666 `
@@ -1881,7 +1881,7 @@ changes:
1881
1881
* ` path ` {string|Buffer|URL}
1882
1882
* ` options ` {string|Object}
1883
1883
* ` flags ` {string} See [ support of file system ` flags ` ] [ ] . ** Default:**
1884
- ` 'w' ` .
1884
+ ` 'w' ` .
1885
1885
* ` encoding ` {string} ** Default:** ` 'utf8' `
1886
1886
* ` fd ` {integer} ** Default:** ` null `
1887
1887
* ` mode ` {integer} ** Default:** ` 0o666 `
@@ -3092,11 +3092,11 @@ when possible prefer streaming via `fs.createReadStream()`.
3092
3092
3093
3093
1 . Any specified file descriptor has to support reading.
3094
3094
2 . If a file descriptor is specified as the ` path ` , it will not be closed
3095
- automatically.
3095
+ automatically.
3096
3096
3 . The reading will begin at the current position. For example, if the file
3097
- already had ` 'Hello World ` ' and six bytes are read with the file descriptor,
3098
- the call to ` fs.readFile() ` with the same file descriptor, would give
3099
- ` 'World' ` , rather than ` 'Hello World' ` .
3097
+ already had ` 'Hello World ` ' and six bytes are read with the file descriptor,
3098
+ the call to ` fs.readFile() ` with the same file descriptor, would give
3099
+ ` 'World' ` , rather than ` 'Hello World' ` .
3100
3100
3101
3101
## ` fs.readFileSync(path[, options]) `
3102
3102
<!-- YAML
@@ -5135,13 +5135,13 @@ OR of two or more values (e.g.
5135
5135
` fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE ` ).
5136
5136
5137
5137
* ` fs.constants.COPYFILE_EXCL ` : The copy operation will fail if ` dest ` already
5138
- exists.
5138
+ exists.
5139
5139
* ` fs.constants.COPYFILE_FICLONE ` : The copy operation will attempt to create a
5140
- copy-on-write reflink. If the platform does not support copy-on-write, then a
5141
- fallback copy mechanism is used.
5140
+ copy-on-write reflink. If the platform does not support copy-on-write, then a
5141
+ fallback copy mechanism is used.
5142
5142
* ` fs.constants.COPYFILE_FICLONE_FORCE ` : The copy operation will attempt to
5143
- create a copy-on-write reflink. If the platform does not support copy-on-write,
5144
- then the operation will fail.
5143
+ create a copy-on-write reflink. If the platform does not support
5144
+ copy-on-write, then the operation will fail.
5145
5145
5146
5146
``` js
5147
5147
const {
@@ -5987,7 +5987,7 @@ string.
5987
5987
* ` 'wx' ` : Like ` 'w' ` but fails if the path exists.
5988
5988
5989
5989
* ` 'w+' ` : Open file for reading and writing.
5990
- The file is created (if it does not exist) or truncated (if it exists).
5990
+ The file is created (if it does not exist) or truncated (if it exists).
5991
5991
5992
5992
* ` 'wx+' ` : Like ` 'w+' ` but fails if the path exists.
5993
5993
0 commit comments