File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -593,8 +593,6 @@ try {
593593If the file previously was shorter than ` len` bytes, it is extended, and the
594594extended part is filled with null bytes (` ' \0 ' ` ).
595595
596- If the file didn't exist, it is created.
597-
598596If ` 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
14531451added: 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
40424044added: v0.8.6
40434045changes:
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
57495754added: 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}
You can’t perform that action at this time.
0 commit comments