We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bac4c41 commit 395ba7bCopy full SHA for 395ba7b
doc/api/fs.md
@@ -4723,7 +4723,7 @@ On Windows, opening an existing hidden file using the `'w'` flag (either
4723
through `fs.open()` or `fs.writeFile()` or `fsPromises.open()`) will fail with
4724
`EPERM`. Existing hidden files can be opened for writing with the `'r+'` flag.
4725
4726
-A call to `fs.ftruncate()` or `fsPromises.ftruncate()` can be used to reset
+A call to `fs.ftruncate()` or `filehandle.truncate()` can be used to reset
4727
the file contents.
4728
4729
[`AHAFS`]: https://www.ibm.com/developerworks/aix/library/au-aix_event_infrastructure/
0 commit comments