Skip to content

Commit

Permalink
fixup! doc: refactor fs docs structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Feb 12, 2021
1 parent 6ed4a8a commit f436509
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ added: v10.0.0
-->

* `uid` {integer} The file's new owner's user id.
* `gid` {integer} * `gid` {integer} The file's new group's group id.
* `gid` {integer} The file's new group's group id.
* Returns: {Promise} Fulfills with `undefined` upon success.

Changes the ownership of the file. A wrapper for chown(2).
Expand Down Expand Up @@ -365,8 +365,6 @@ changes:
{fs.Stats} object should be `bigint`. **Default:** `false`.
* Returns: {Promise} Fulfills with an {fs.Stats} for the file.
#### `filehandle.sync()`
<!-- YAML
added: v10.0.0
Expand Down Expand Up @@ -4188,7 +4186,7 @@ added: v0.4.7
* `fd` {integer}
* `uid` {integer} The file's new owner's user id.
* `gid` {integer} * `gid` {integer} The file's new group's group id.
* `gid` {integer} The file's new group's group id.
Sets the owner of the file. Returns `undefined`.
Expand Down Expand Up @@ -4291,7 +4289,7 @@ changes:
* `path` {string|Buffer|URL}
* `uid` {integer} The file's new owner's user id.
* `gid` {integer} * `gid` {integer} The file's new group's group id.
* `gid` {integer} The file's new group's group id.
Set the owner for the path. Returns `undefined`.
Expand Down

0 comments on commit f436509

Please sign in to comment.