Browse Source

docs: make fs.mkdir()'s mode argument an option.

v0.7.4-release
koichik 13 years ago
parent
commit
a6dbe0ff23
  1. 6
      doc/api/fs.markdown

6
doc/api/fs.markdown

@ -215,12 +215,12 @@ to the completion callback.
Synchronous rmdir(2). 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 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). Synchronous mkdir(2).

Loading…
Cancel
Save