We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4a0ca2 commit 1b027eeCopy full SHA for 1b027ee
doc/api/fs.markdown
@@ -797,6 +797,9 @@ there's no file descriptor leak. If `autoClose` is set to true (default
797
behavior), on `error` or `end` the file descriptor will be closed
798
automatically.
799
800
+`mode` sets the file mode (permission and sticky bits), but only if the
801
+file was created.
802
+
803
An example to read the last 10 bytes of a file which is 100 bytes long:
804
805
fs.createReadStream('sample.txt', {start: 90, end: 99});
0 commit comments