There was an error while loading. Please reload this page.
1 parent f911e09 commit e24fc95Copy full SHA for e24fc95
doc/api/fs.md
@@ -4749,7 +4749,7 @@ On Windows, opening an existing hidden file using the `'w'` flag (either
4749
through `fs.open()` or `fs.writeFile()` or `fsPromises.open()`) will fail with
4750
`EPERM`. Existing hidden files can be opened for writing with the `'r+'` flag.
4751
4752
-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
4753
the file contents.
4754
4755
[`AHAFS`]: https://www.ibm.com/developerworks/aix/library/au-aix_event_infrastructure/
0 commit comments