From 1a966f1fc4674604de182ac4058648990b636b39 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 e59fc668dc3d7e..b47e639e3ca98f 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -510,8 +510,10 @@ added: v0.1.30 * `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)