@@ -2019,11 +2019,17 @@ The file is created if it does not exist.
2019
2019
2020
2020
* ` 'ax' ` - Like ` 'a' ` but fails if ` path ` exists.
2021
2021
2022
+ * ` 'as' ` - Open file for appending in synchronous mode.
2023
+ The file is created if it does not exist.
2024
+
2022
2025
* ` 'a+' ` - Open file for reading and appending.
2023
2026
The file is created if it does not exist.
2024
2027
2025
2028
* ` 'ax+' ` - Like ` 'a+' ` but fails if ` path ` exists.
2026
2029
2030
+ * ` 'as+' ` - Open file for reading and appending in synchronous mode.
2031
+ The file is created if it does not exist.
2032
+
2027
2033
` mode ` sets the file mode (permission and sticky bits), but only if the file was
2028
2034
created. It defaults to ` 0o666 ` (readable and writable).
2029
2035
@@ -3907,11 +3913,17 @@ The file is created if it does not exist.
3907
3913
3908
3914
* ` 'ax' ` - Like ` 'a' ` but fails if ` path ` exists.
3909
3915
3916
+ * ` 'as' ` - Open file for appending in synchronous mode.
3917
+ The file is created if it does not exist.
3918
+
3910
3919
* ` 'a+' ` - Open file for reading and appending.
3911
3920
The file is created if it does not exist.
3912
3921
3913
3922
* ` 'ax+' ` - Like ` 'a+' ` but fails if ` path ` exists.
3914
3923
3924
+ * ` 'as+' ` - Open file for reading and appending in synchronous mode.
3925
+ The file is created if it does not exist.
3926
+
3915
3927
` mode ` sets the file mode (permission and sticky bits), but only if the file was
3916
3928
created. It defaults to ` 0o666 ` (readable and writable).
3917
3929
0 commit comments