diff options
author | koichik <koichik@improvement.jp> | 2011-11-03 20:04:22 +0900 |
---|---|---|
committer | koichik <koichik@improvement.jp> | 2011-11-03 20:04:22 +0900 |
commit | a6dbe0ff23a8d73cd747de30c426753ae743113a (patch) | |
tree | 639fea96e6b68e2667d29cdacb05e3e7cd16853b | |
parent | 11d68eb3fc3c2f8d377cf8c50f1babb8d1f82d5f (diff) | |
download | node-new-a6dbe0ff23a8d73cd747de30c426753ae743113a.tar.gz |
docs: make fs.mkdir()'s mode argument an option.
-rw-r--r-- | doc/api/fs.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index f7b09eead2..6476b25baa 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -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). |