From 4429000793391a090ed8862d2cacd67542f1842b Mon Sep 17 00:00:00 2001 From: 73mp74710n Date: Thu, 11 Jun 2020 08:18:10 +0000 Subject: [PATCH] Add a line to specify fs.createWriteStream instance Add a line to specify which `fs` method to call that returns an instance of `fs.WriteStream`. This was specifed in the fs.ReadStream section of the fs documentation --- doc/api/fs.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/fs.md b/doc/api/fs.md index 4ac95d58e20230..792c107a8169d9 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1074,6 +1074,7 @@ of 0.12, `ctime` is not "creation time", and on Unix systems, it never was. +A successful call to `fs.createWriteStream()` will return a new `fs.WriteStream` object. * Extends {stream.Writable}