Skip to content

Commit

Permalink
squash: adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LiviaMedeiros committed Jun 11, 2022
1 parent 90c7ada commit b544846
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,6 @@ try {
If the file previously was shorter than `len` bytes, it is extended, and the
extended part is filled with null bytes (`'\0'`).
If the file didn't exist, it is created.
If `len` is negative then `0` will be used.
#### `filehandle.utimes(atime, mtime)`
Expand Down Expand Up @@ -1451,6 +1449,10 @@ automatically be normalized to absolute path.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43315
description: Creates a file if it didn't exist.
-->
* `path` {string|Buffer|URL}
Expand Down Expand Up @@ -4041,6 +4043,9 @@ $ tree .
<!-- YAML
added: v0.8.6
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43315
description: Creates a file if it didn't exist.
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
Expand Down Expand Up @@ -5747,6 +5752,10 @@ this API: [`fs.symlink()`][].
<!-- YAML
added: v0.8.6
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43315
description: Creates a file if it didn't exist.
-->
* `path` {string|Buffer|URL}
Expand Down

0 comments on commit b544846

Please sign in to comment.