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: fix `filename` type in `watch` result · nodejs/node@417927b

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
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ added:
16681668
should stop.
16691669
* Returns: {AsyncIterator} of objects with the properties:
16701670
* `eventType` {string} The type of change
1671-
* `filename` {string|Buffer} The name of the file changed.
1671+
* `filename` {string|Buffer|null} The name of the file changed.
16721672
16731673
Returns an async iterator that watches for changes on `filename`, where `filename`
16741674
is either a file or a directory.
@@ -4492,7 +4492,7 @@ changes:
44924492
* `signal` {AbortSignal} allows closing the watcher with an AbortSignal.
44934493
* `listener` {Function|undefined} **Default:** `undefined`
44944494
* `eventType` {string}
4495-
* `filename` {string|Buffer}
4495+
* `filename` {string|Buffer|null}
44964496
* Returns: {fs.FSWatcher}
44974497
44984498
Watch for changes on `filename`, where `filename` is either a file or 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.