# HG changeset patch # User Yaroslav Zhuravlev # Date 1583321448 0 # Node ID d3d5b67a146270018f72f563849fce08fe97841a # Parent 8ad2ea80e0c2aa609251083d92f11688058cb8ee Language fixes in njs file system methods. diff --git a/xml/en/docs/njs/reference.xml b/xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml +++ b/xml/en/docs/njs/reference.xml @@ -9,7 +9,7 @@
+ rev="37">
@@ -1176,8 +1176,8 @@ The File System module provides operatio The module object is returned by require('fs'). -Since (0.3.9), -promissified versions of methods described below are available through +Since 0.3.9, +promissified versions of file system methods are available through require('fs').promises object: > var fs = require('fs').promises; @@ -1280,7 +1280,7 @@ true Synchronously computes the canonical pathname by resolving ., .. and symbolic links using -realpath(3) +realpath(3). The options argument can be a string specifying an encoding, or an object with an encoding property specifying the character encoding to use for the path passed to the callback