We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fs.readFile
1 parent c843e58 commit dedfcb7Copy full SHA for dedfcb7
1 file changed
doc/api/fs.md
@@ -384,7 +384,8 @@ fs.appendFile('message.txt', 'data to append', 'utf8', callback);
384
385
Any specified file descriptor has to have been opened for appending.
386
387
-_Note: Specified file descriptors will not be closed automatically._
+_Note: If a file descriptor is specified as the `file`, it will not be closed
388
+automatically._
389
390
## fs.appendFileSync(file, data[, options])
391
<!-- YAML
@@ -1136,7 +1137,8 @@ fs.readFile('/etc/passwd', 'utf8', callback);
1136
1137
1138
Any specified file descriptor has to support reading.
1139
1140
1141
1142
1143
## fs.readFileSync(file[, options])
1144
@@ -1671,7 +1673,8 @@ Note that it is unsafe to use `fs.writeFile` multiple times on the same file
1671
1673
without waiting for the callback. For this scenario,
1672
1674
`fs.createWriteStream` is strongly recommended.
1675
1676
1677
1678
1679
## fs.writeFileSync(file, data[, options])
1680
0 commit comments