doc: update fs flags documentation
PR-URL: https://github.com/nodejs/node/pull/48463 Fixes: https://github.com/nodejs/node/issues/48452 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
This commit is contained in:
parent
3c35cd4a74
commit
0d725d6fa0
@ -7973,6 +7973,9 @@ string.
|
||||
* `'r'`: Open file for reading.
|
||||
An exception occurs if the file does not exist.
|
||||
|
||||
* `'rs'`: Open file for reading in synchronous mode.
|
||||
An exception occurs if the file does not exist.
|
||||
|
||||
* `'r+'`: Open file for reading and writing.
|
||||
An exception occurs if the file does not exist.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user