mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
docs: make fs.mkdir()'s mode argument an option.
This commit is contained in:
parent
11d68eb3fc
commit
a6dbe0ff23
@ -215,12 +215,12 @@ to the completion callback.
|
||||
|
||||
Synchronous rmdir(2).
|
||||
|
||||
### fs.mkdir(path, mode, [callback])
|
||||
### fs.mkdir(path, [mode], [callback])
|
||||
|
||||
Asynchronous mkdir(2). No arguments other than a possible exception are given
|
||||
to the completion callback.
|
||||
to the completion callback. `mode` defaults to `0777`.
|
||||
|
||||
### fs.mkdirSync(path, mode)
|
||||
### fs.mkdirSync(path, [mode])
|
||||
|
||||
Synchronous mkdir(2).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user