summaryrefslogtreecommitdiff
path: root/doc/api/fs.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/fs.md')
-rw-r--r--doc/api/fs.md58
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md
index 58b97be26c..86fef8cbd1 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -1919,12 +1919,12 @@ If `options` is a string, then it specifies the encoding.
## `fs.exists(path, callback)`
<!-- YAML
added: v0.0.2
+deprecated: v1.0.0
changes:
- version: v7.6.0
pr-url: https://github.com/nodejs/node/pull/10739
description: The `path` parameter can be a WHATWG `URL` object using
`file:` protocol. Support is currently still *experimental*.
-deprecated: v1.0.0
-->
> Stability: 0 - Deprecated: Use [`fs.stat()`][] or [`fs.access()`][] instead.
@@ -2154,6 +2154,10 @@ Synchronous fdatasync(2). Returns `undefined`.
<!-- YAML
added: v0.1.95
changes:
+ - version: v10.5.0
+ pr-url: https://github.com/nodejs/node/pull/20220
+ description: Accepts an additional `options` object to specify whether
+ the numeric values returned should be bigint.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/12562
description: The `callback` parameter is no longer optional. Not passing
@@ -2162,10 +2166,6 @@ changes:
pr-url: https://github.com/nodejs/node/pull/7897
description: The `callback` parameter is no longer optional. Not passing
it will emit a deprecation warning with id DEP0013.
- - version: v10.5.0
- pr-url: https://github.com/nodejs/node/pull/20220
- description: Accepts an additional `options` object to specify whether
- the numeric values returned should be bigint.
-->
* `fd` {integer}
@@ -2507,6 +2507,10 @@ Synchronous link(2). Returns `undefined`.
<!-- YAML
added: v0.1.30
changes:
+ - version: v10.5.0
+ pr-url: https://github.com/nodejs/node/pull/20220
+ description: Accepts an additional `options` object to specify whether
+ the numeric values returned should be bigint.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/12562
description: The `callback` parameter is no longer optional. Not passing
@@ -2519,10 +2523,6 @@ changes:
pr-url: https://github.com/nodejs/node/pull/7897
description: The `callback` parameter is no longer optional. Not passing
it will emit a deprecation warning with id DEP0013.
- - version: v10.5.0
- pr-url: https://github.com/nodejs/node/pull/20220
- description: Accepts an additional `options` object to specify whether
- the numeric values returned should be bigint.
-->
* `path` {string|Buffer|URL}
@@ -2542,14 +2542,14 @@ not the file that it refers to.
<!-- YAML
added: v0.1.30
changes:
- - version: v7.6.0
- pr-url: https://github.com/nodejs/node/pull/10739
- description: The `path` parameter can be a WHATWG `URL` object using `file:`
- protocol. Support is currently still *experimental*.
- version: v10.5.0
pr-url: https://github.com/nodejs/node/pull/20220
description: Accepts an additional `options` object to specify whether
the numeric values returned should be bigint.
+ - version: v7.6.0
+ pr-url: https://github.com/nodejs/node/pull/10739
+ description: The `path` parameter can be a WHATWG `URL` object using `file:`
+ protocol. Support is currently still *experimental*.
-->
* `path` {string|Buffer|URL}
@@ -3632,6 +3632,10 @@ utility). Returns `undefined`.
<!-- YAML
added: v0.0.2
changes:
+ - version: v10.5.0
+ pr-url: https://github.com/nodejs/node/pull/20220
+ description: Accepts an additional `options` object to specify whether
+ the numeric values returned should be bigint.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/12562
description: The `callback` parameter is no longer optional. Not passing
@@ -3644,10 +3648,6 @@ changes:
pr-url: https://github.com/nodejs/node/pull/7897
description: The `callback` parameter is no longer optional. Not passing
it will emit a deprecation warning with id DEP0013.
- - version: v10.5.0
- pr-url: https://github.com/nodejs/node/pull/20220
- description: Accepts an additional `options` object to specify whether
- the numeric values returned should be bigint.
-->
* `path` {string|Buffer|URL}
@@ -3745,14 +3745,14 @@ Stats {
<!-- YAML
added: v0.1.21
changes:
- - version: v7.6.0
- pr-url: https://github.com/nodejs/node/pull/10739
- description: The `path` parameter can be a WHATWG `URL` object using `file:`
- protocol. Support is currently still *experimental*.
- version: v10.5.0
pr-url: https://github.com/nodejs/node/pull/20220
description: Accepts an additional `options` object to specify whether
the numeric values returned should be bigint.
+ - version: v7.6.0
+ pr-url: https://github.com/nodejs/node/pull/10739
+ description: The `path` parameter can be a WHATWG `URL` object using `file:`
+ protocol. Support is currently still *experimental*.
-->
* `path` {string|Buffer|URL}
@@ -3767,15 +3767,15 @@ Synchronous stat(2).
<!-- YAML
added: v0.1.31
changes:
+ - version: v12.0.0
+ pr-url: https://github.com/nodejs/node/pull/23724
+ description: If the `type` argument is left undefined, Node will autodetect
+ `target` type and automatically select `dir` or `file`.
- version: v7.6.0
pr-url: https://github.com/nodejs/node/pull/10739
description: The `target` and `path` parameters can be WHATWG `URL` objects
using `file:` protocol. Support is currently still
*experimental*.
- - version: v12.0.0
- pr-url: https://github.com/nodejs/node/pull/23724
- description: If the `type` argument is left undefined, Node will autodetect
- `target` type and automatically select `dir` or `file`.
-->
* `target` {string|Buffer|URL}
@@ -3815,15 +3815,15 @@ example/
<!-- YAML
added: v0.1.31
changes:
+ - version: v12.0.0
+ pr-url: https://github.com/nodejs/node/pull/23724
+ description: If the `type` argument is left undefined, Node will autodetect
+ `target` type and automatically select `dir` or `file`.
- version: v7.6.0
pr-url: https://github.com/nodejs/node/pull/10739
description: The `target` and `path` parameters can be WHATWG `URL` objects
using `file:` protocol. Support is currently still
*experimental*.
- - version: v12.0.0
- pr-url: https://github.com/nodejs/node/pull/23724
- description: If the `type` argument is left undefined, Node will autodetect
- `target` type and automatically select `dir` or `file`.
-->
* `target` {string|Buffer|URL}