Skip to content

Commit b544846

Browse files
committed
squash: adjust docs
1 parent 90c7ada commit b544846

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

doc/api/fs.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,6 @@ try {
593593
If the file previously was shorter than `len` bytes, it is extended, and the
594594
extended part is filled with null bytes (`'\0'`).
595595
596-
If the file didn't exist, it is created.
597-
598596
If `len` is negative then `0` will be used.
599597
600598
#### `filehandle.utimes(atime, mtime)`
@@ -1451,6 +1449,10 @@ automatically be normalized to absolute path.
14511449
14521450
<!-- YAML
14531451
added: v10.0.0
1452+
changes:
1453+
- version: REPLACEME
1454+
pr-url: https://github.com/nodejs/node/pull/43315
1455+
description: Creates a file if it didn't exist.
14541456
-->
14551457
14561458
* `path` {string|Buffer|URL}
@@ -4041,6 +4043,9 @@ $ tree .
40414043
<!-- YAML
40424044
added: v0.8.6
40434045
changes:
4046+
- version: REPLACEME
4047+
pr-url: https://github.com/nodejs/node/pull/43315
4048+
description: Creates a file if it didn't exist.
40444049
- version: v18.0.0
40454050
pr-url: https://github.com/nodejs/node/pull/41678
40464051
description: Passing an invalid callback to the `callback` argument
@@ -5747,6 +5752,10 @@ this API: [`fs.symlink()`][].
57475752
57485753
<!-- YAML
57495754
added: v0.8.6
5755+
changes:
5756+
- version: REPLACEME
5757+
pr-url: https://github.com/nodejs/node/pull/43315
5758+
description: Creates a file if it didn't exist.
57505759
-->
57515760
57525761
* `path` {string|Buffer|URL}

0 commit comments

Comments
 (0)