Merge pull request #27 from skaegi/develop

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

I'll also sync with the project page on js-platform.github.io/idbfs
This commit is contained in:
Alan K 2013-11-20 14:08:39 -08:00
commit cfc63d80c1
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`. 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) #### 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) #### fs.rmdir(path, callback)
Asynchronous rmdir(2). Callback gets no additional agruments. Asynchronous rmdir(2). Callback gets no additional arguments.
#### fs.mkdir(path, callback) #### fs.mkdir(path, callback)
Asynchronous mkdir(2). Callback gets no additional agruments. Asynchronous mkdir(2). Callback gets no additional arguments.
#### fs.close(fd, callback) #### 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) #### fs.open(path, flags, callback)