Skip to content

Commit fc80ee9

Browse files
isaacsbnoordhuis
authored andcommitted
docs for chown/chmod
1 parent b62ecdc commit fc80ee9

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

doc/api/fs.markdown

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,33 @@ given to the completion callback.
7070

7171
Synchronous ftruncate(2).
7272

73+
### fs.chown(path, mode, [callback])
74+
75+
Asycnronous chown(2). No arguments other than a possible exception are given
76+
to the completion callback.
77+
78+
### fs.chownSync(path, mode)
79+
80+
Synchronous chown(2).
81+
82+
### fs.fchown(path, mode, [callback])
83+
84+
Asycnronous fchown(2). No arguments other than a possible exception are given
85+
to the completion callback.
86+
87+
### fs.fchownSync(path, mode)
88+
89+
Synchronous fchown(2).
90+
91+
### fs.lchown(path, mode, [callback])
92+
93+
Asycnronous lchown(2). No arguments other than a possible exception are given
94+
to the completion callback.
95+
96+
### fs.lchownSync(path, mode)
97+
98+
Synchronous lchown(2).
99+
73100
### fs.chmod(path, mode, [callback])
74101

75102
Asynchronous chmod(2). No arguments other than a possible exception are given
@@ -79,6 +106,24 @@ to the completion callback.
79106

80107
Synchronous chmod(2).
81108

109+
### fs.fchmod(fd, mode, [callback])
110+
111+
Asynchronous fchmod(2). No arguments other than a possible exception
112+
are given to the completion callback.
113+
114+
### fs.fchmodSync(path, mode)
115+
116+
Synchronous fchmod(2).
117+
118+
### fs.lchmod(fd, mode, [callback])
119+
120+
Asynchronous lchmod(2). No arguments other than a possible exception
121+
are given to the completion callback.
122+
123+
### fs.lchmodSync(path, mode)
124+
125+
Synchronous lchmod(2).
126+
82127
### fs.stat(path, [callback])
83128

84129
Asynchronous stat(2). The callback gets two arguments `(err, stats)` where

0 commit comments

Comments
 (0)