From ac8a75dd264722575e8f99b43ac213ed1ca971a4 Mon Sep 17 00:00:00 2001 From: Evan Lucas Date: Thu, 14 Dec 2017 05:56:38 -0600 Subject: [PATCH] doc: improve fs api descriptions This improves the api descriptions for fs.chown, fs.chmod, and fs.mkdir along with their *Sync counterparts. PR-URL: https://github.com/nodejs/node/pull/17679 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Jeremiah Senkpiel Reviewed-By: Luigi Pinca Reviewed-By: Jon Moss Reviewed-By: James M Snell --- doc/api/fs.md | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 713002ccf3f6a2..c87e0d1b068f38 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -669,8 +669,10 @@ changes: * `callback` {Function} * `err` {Error} -Asynchronous chmod(2). No arguments other than a possible exception are given -to the completion callback. +Asynchronously changes the permissions of a file. No arguments other than a +possible exception are given to the completion callback. + +See also: chmod(2) ## fs.chmodSync(path, mode)