Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix docs for fs.chown family of functions #1533

Closed
wants to merge 1 commit into from

2 participants

@polazarus

Hi everyone!
A commit to fix parameters of fs.[lf]chown{Sync} in documentation.
And thank you all for your hard work!
MD

@polazarus polazarus Fix docs for fs.*chown
Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
fs.lchown[Sync] in documentation.
f32bfd8
@koichik
Owner

Good catch! Can you sign the CLA?

@polazarus

Done! See you.

@koichik koichik closed this pull request from a commit
@polazarus polazarus Fix docs for fs.*chown
Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
fs.lchown[Sync] in documentation.

Fixes #1533.
e8d268f
@koichik koichik closed this in e8d268f
@koichik
Owner

Thanks! It was landed into v0.4 branch (It will be merged into master later).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 15, 2011
  1. @polazarus

    Fix docs for fs.*chown

    polazarus authored
    Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
    fs.lchown[Sync] in documentation.
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 6 deletions.
  1. +6 −6 doc/api/fs.markdown
View
12 doc/api/fs.markdown
@@ -73,30 +73,30 @@ given to the completion callback.
Synchronous ftruncate(2).
-### fs.chown(path, mode, [callback])
+### fs.chown(path, uid, gid, [callback])
Asycnronous chown(2). No arguments other than a possible exception are given
to the completion callback.
-### fs.chownSync(path, mode)
+### fs.chownSync(path, uid, gid)
Synchronous chown(2).
-### fs.fchown(path, mode, [callback])
+### fs.fchown(path, uid, gid, [callback])
Asycnronous fchown(2). No arguments other than a possible exception are given
to the completion callback.
-### fs.fchownSync(path, mode)
+### fs.fchownSync(path, uid, gid)
Synchronous fchown(2).
-### fs.lchown(path, mode, [callback])
+### fs.lchown(path, uid, gid, [callback])
Asycnronous lchown(2). No arguments other than a possible exception are given
to the completion callback.
-### fs.lchownSync(path, mode)
+### fs.lchownSync(path, uid, gid)
Synchronous lchown(2).
Something went wrong with that request. Please try again.