@@ -891,8 +891,10 @@ changes:
891
891
* ` callback ` {Function}
892
892
* ` err ` {Error}
893
893
894
- Asynchronous chmod(2). No arguments other than a possible exception are given
895
- to the completion callback.
894
+ Asynchronously changes the permissions of a file. No arguments other than a
895
+ possible exception are given to the completion callback.
896
+
897
+ See also: chmod(2)
896
898
897
899
## fs.chmodSync(path, mode)
898
900
<!-- YAML
@@ -907,7 +909,10 @@ changes:
907
909
* ` path ` {string|Buffer|URL}
908
910
* ` mode ` {integer}
909
911
910
- Synchronous chmod(2). Returns ` undefined ` .
912
+ Synchronously changes the permissions of a file. Returns ` undefined ` .
913
+ This is the synchronous version of [ ` fs.chmod() ` ] [ ] .
914
+
915
+ See also: chmod(2)
911
916
912
917
## fs.chown(path, uid, gid, callback)
913
918
<!-- YAML
@@ -929,8 +934,10 @@ changes:
929
934
* ` callback ` {Function}
930
935
* ` err ` {Error}
931
936
932
- Asynchronous chown(2). No arguments other than a possible exception are given
933
- to the completion callback.
937
+ Asynchronously changes owner and group of a file. No arguments other than a
938
+ possible exception are given to the completion callback.
939
+
940
+ See also: chown(2)
934
941
935
942
## fs.chownSync(path, uid, gid)
936
943
<!-- YAML
@@ -946,7 +953,10 @@ changes:
946
953
* ` uid ` {integer}
947
954
* ` gid ` {integer}
948
955
949
- Synchronous chown(2). Returns ` undefined ` .
956
+ Synchronously changes owner and group of a file. Returns ` undefined ` .
957
+ This is the synchronous version of [ ` fs.chown() ` ] [ ] .
958
+
959
+ See also: chown(2)
950
960
951
961
## fs.close(fd, callback)
952
962
<!-- YAML
@@ -1733,8 +1743,10 @@ changes:
1733
1743
* ` callback ` {Function}
1734
1744
* ` err ` {Error}
1735
1745
1736
- Asynchronous mkdir(2). No arguments other than a possible exception are given
1737
- to the completion callback. ` mode ` defaults to ` 0o777 ` .
1746
+ Asynchronously creates a directory. No arguments other than a possible exception
1747
+ are given to the completion callback. ` mode ` defaults to ` 0o777 ` .
1748
+
1749
+ See also: mkdir(2)
1738
1750
1739
1751
## fs.mkdirSync(path[ , mode] )
1740
1752
<!-- YAML
@@ -1749,7 +1761,10 @@ changes:
1749
1761
* ` path ` {string|Buffer|URL}
1750
1762
* ` mode ` {integer} ** Default:** ` 0o777 `
1751
1763
1752
- Synchronous mkdir(2). Returns ` undefined ` .
1764
+ Synchronously creates a directory. Returns ` undefined ` .
1765
+ This is the synchronous version of [ ` fs.mkdir() ` ] [ ] .
1766
+
1767
+ See also: mkdir(2)
1753
1768
1754
1769
## fs.mkdtemp(prefix[ , options] , callback)
1755
1770
<!-- YAML
@@ -3331,10 +3346,13 @@ The following constants are meant for use with the [`fs.Stats`][] object's
3331
3346
[ `fs.Stats` ] : #fs_class_fs_stats
3332
3347
[ `fs.access()` ] : #fs_fs_access_path_mode_callback
3333
3348
[ `fs.appendFile()` ] : fs.html#fs_fs_appendfile_file_data_options_callback
3349
+ [ `fs.chmod()` ] : #fs_fs_chmod_path_mode_callback
3350
+ [ `fs.chown()` ] : #fs_fs_chown_path_uid_gid_callback
3334
3351
[ `fs.exists()` ] : fs.html#fs_fs_exists_path_callback
3335
3352
[ `fs.fstat()` ] : #fs_fs_fstat_fd_callback
3336
3353
[ `fs.futimes()` ] : #fs_fs_futimes_fd_atime_mtime_callback
3337
3354
[ `fs.lstat()` ] : #fs_fs_lstat_path_callback
3355
+ [ `fs.mkdir()` ] : #fs_fs_mkdir_path_mode_callback
3338
3356
[ `fs.mkdtemp()` ] : #fs_fs_mkdtemp_prefix_options_callback
3339
3357
[ `fs.open()` ] : #fs_fs_open_path_flags_mode_callback
3340
3358
[ `fs.read()` ] : #fs_fs_read_fd_buffer_offset_length_position_callback
0 commit comments