DEP0135:WriteStream.open() 和 ReadStream.open() 是内部的
¥DEP0135: WriteStream.open() and ReadStream.open() are internal
类型:运行时
¥Type: Runtime
WriteStream.open() 和 ReadStream.open() 是未记录的内部 API,在用户空间中使用没有意义。文件流应始终通过其相应的工厂方法 fs.createWriteStream() 和 fs.createReadStream()) 或通过在选项中传递文件描述符来打开。
¥WriteStream.open() and ReadStream.open() are undocumented internal
APIs that do not make sense to use in userland. File streams should always be
opened through their corresponding factory methods fs.createWriteStream()
and fs.createReadStream()) or by passing a file descriptor in options.