Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: make fs.mkdir()'s mode argument an option.
Browse files Browse the repository at this point in the history
  • Loading branch information
koichik committed Nov 3, 2011
1 parent 11d68eb commit a6dbe0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/fs.markdown
Expand Up @@ -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).

Expand Down

0 comments on commit a6dbe0f

Please sign in to comment.