@@ -669,8 +669,10 @@ changes:
669
669
* ` callback ` {Function}
670
670
* ` err ` {Error}
671
671
672
- Asynchronous chmod(2). No arguments other than a possible exception are given
673
- to the completion callback.
672
+ Asynchronously changes the permissions of a file. No arguments other than a
673
+ possible exception are given to the completion callback.
674
+
675
+ See also: chmod(2)
674
676
675
677
## fs.chmodSync(path, mode)
676
678
<!-- YAML
@@ -685,7 +687,10 @@ changes:
685
687
* ` path ` {string|Buffer|URL}
686
688
* ` mode ` {integer}
687
689
688
- Synchronous chmod(2). Returns ` undefined ` .
690
+ Synchronously changes the permissions of a file. Returns ` undefined ` .
691
+ This is the synchronous version of [ ` fs.chmod() ` ] [ ] .
692
+
693
+ See also: chmod(2)
689
694
690
695
## fs.chown(path, uid, gid, callback)
691
696
<!-- YAML
@@ -707,8 +712,10 @@ changes:
707
712
* ` callback ` {Function}
708
713
* ` err ` {Error}
709
714
710
- Asynchronous chown(2). No arguments other than a possible exception are given
711
- to the completion callback.
715
+ Asynchronously changes owner and group of a file. No arguments other than a
716
+ possible exception are given to the completion callback.
717
+
718
+ See also: chown(2)
712
719
713
720
## fs.chownSync(path, uid, gid)
714
721
<!-- YAML
@@ -724,7 +731,10 @@ changes:
724
731
* ` uid ` {integer}
725
732
* ` gid ` {integer}
726
733
727
- Synchronous chown(2). Returns ` undefined ` .
734
+ Synchronously changes owner and group of a file. Returns ` undefined ` .
735
+ This is the synchronous version of [ ` fs.chown() ` ] [ ] .
736
+
737
+ See also: chown(2)
728
738
729
739
## fs.close(fd, callback)
730
740
<!-- YAML
@@ -1511,8 +1521,10 @@ changes:
1511
1521
* ` callback ` {Function}
1512
1522
* ` err ` {Error}
1513
1523
1514
- Asynchronous mkdir(2). No arguments other than a possible exception are given
1515
- to the completion callback. ` mode ` defaults to ` 0o777 ` .
1524
+ Asynchronously creates a directory. No arguments other than a possible exception
1525
+ are given to the completion callback. ` mode ` defaults to ` 0o777 ` .
1526
+
1527
+ See also: mkdir(2)
1516
1528
1517
1529
## fs.mkdirSync(path[ , mode] )
1518
1530
<!-- YAML
@@ -1527,7 +1539,10 @@ changes:
1527
1539
* ` path ` {string|Buffer|URL}
1528
1540
* ` mode ` {integer} ** Default:** ` 0o777 `
1529
1541
1530
- Synchronous mkdir(2). Returns ` undefined ` .
1542
+ Synchronously creates a directory. Returns ` undefined ` .
1543
+ This is the synchronous version of [ ` fs.mkdir() ` ] [ ] .
1544
+
1545
+ See also: mkdir(2)
1531
1546
1532
1547
## fs.mkdtemp(prefix[ , options] , callback)
1533
1548
<!-- YAML
@@ -3026,10 +3041,13 @@ The following constants are meant for use with the [`fs.Stats`][] object's
3026
3041
[ `fs.Stats` ] : #fs_class_fs_stats
3027
3042
[ `fs.access()` ] : #fs_fs_access_path_mode_callback
3028
3043
[ `fs.appendFile()` ] : fs.html#fs_fs_appendfile_file_data_options_callback
3044
+ [ `fs.chmod()` ] : #fs_fs_chmod_path_mode_callback
3045
+ [ `fs.chown()` ] : #fs_fs_chown_path_uid_gid_callback
3029
3046
[ `fs.exists()` ] : fs.html#fs_fs_exists_path_callback
3030
3047
[ `fs.fstat()` ] : #fs_fs_fstat_fd_callback
3031
3048
[ `fs.futimes()` ] : #fs_fs_futimes_fd_atime_mtime_callback
3032
3049
[ `fs.lstat()` ] : #fs_fs_lstat_path_callback
3050
+ [ `fs.mkdir()` ] : #fs_fs_mkdir_path_mode_callback
3033
3051
[ `fs.mkdtemp()` ] : #fs_fs_mkdtemp_prefix_options_callback
3034
3052
[ `fs.open()` ] : #fs_fs_open_path_flags_mode_callback
3035
3053
[ `fs.read()` ] : #fs_fs_read_fd_buffer_offset_length_position_callback
0 commit comments