GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: update mode type for fs open() functions · nodejs/node@5948ff4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • fs.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2601,7 +2601,7 @@ changes:
26012601
* `path` {string|Buffer|URL}
26022602
* `flags` {string|number} See [support of file system `flags`][].
26032603
**Default:** `'r'`.
2604-
* `mode` {integer} **Default:** `0o666` (readable and writable)
2604+
* `mode` {string|integer} **Default:** `0o666` (readable and writable)
26052605
* `callback` {Function}
26062606
* `err` {Error}
26072607
* `fd` {integer}
@@ -2693,7 +2693,7 @@ changes:
26932693
* `path` {string|Buffer|URL}
26942694
* `flags` {string|number} **Default:** `'r'`.
26952695
See [support of file system `flags`][].
2696-
* `mode` {integer} **Default:** `0o666`
2696+
* `mode` {string|integer} **Default:** `0o666`
26972697
* Returns: {number}
26982698

26992699
Returns an integer representing the file descriptor.
@@ -4848,7 +4848,7 @@ changes:
48484848
* `path` {string|Buffer|URL}
48494849
* `flags` {string|number} See [support of file system `flags`][].
48504850
**Default:** `'r'`.
4851-
* `mode` {integer} **Default:** `0o666` (readable and writable)
4851+
* `mode` {string|integer} **Default:** `0o666` (readable and writable)
48524852
* Returns: {Promise}
48534853

48544854
Asynchronous file open that returns a `Promise` that, when resolved, yields a

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.