Minor corrections for README.md -- fs.rename, "agruments" typo, fs.link param names

This commit is contained in:
skaegi 2013-11-20 17:05:31 -05:00
parent a73ff08124
commit ddcf6035be
1 changed files with 10 additions and 6 deletions

View File

@ -68,25 +68,29 @@ Asynchronous stat(2). Callback gets `(error, stats)`, where `stats` is an object
Asynchronous stat(2). Callback gets `(error, stats)`. See `fs.stat`.
#### fs.link(oldpath, newpath, callback)
#### fs.link(srcPath, dstPath, callback)
Asynchronous link(2). Callback gets no additional agruments.
Asynchronous link(2). Callback gets no additional arguments.
#### fs.unlink(path, callback)
Asynchronous unlink(2). Callback gets no additional agruments.
Asynchronous unlink(2). Callback gets no additional arguments.
#### fs.rename(oldPath, newPath, callback)#
Asynchronous rename(2). Callback gets no additional arguments.
#### fs.rmdir(path, callback)
Asynchronous rmdir(2). Callback gets no additional agruments.
Asynchronous rmdir(2). Callback gets no additional arguments.
#### fs.mkdir(path, callback)
Asynchronous mkdir(2). Callback gets no additional agruments.
Asynchronous mkdir(2). Callback gets no additional arguments.
#### fs.close(fd, callback)
Asynchronous close(2). Callback gets no additional agruments.
Asynchronous close(2). Callback gets no additional arguments.
#### fs.open(path, flags, callback)