We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b259be7 commit 60b4239Copy full SHA for 60b4239
doc/api/fs.markdown
@@ -823,6 +823,9 @@ there's no file descriptor leak. If `autoClose` is set to true (default
823
behavior), on `error` or `end` the file descriptor will be closed
824
automatically.
825
826
+`mode` sets the file mode (permission and sticky bits), but only if the
827
+file was created.
828
+
829
An example to read the last 10 bytes of a file which is 100 bytes long:
830
831
fs.createReadStream('sample.txt', {start: 90, end: 99});
0 commit comments