镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2203,9 +2203,9 @@ added:
should stop.
* `maxQueue` {number} Specifies the number of events to queue between iterations
of the {AsyncIterator} returned. **Default:** `2048`.
* `overflow` {string} Either `'ignore'` or `'throw'` when there are more events to be
* `overflow` {string} Either `'ignore'` or `'error'` when there are more events to be
queued than `maxQueue` allows. `'ignore'` means overflow events are dropped and a
warning is emitted, while `'throw'` means to throw an exception. **Default:** `'ignore'`.
warning is emitted, while `'error'` means to throw an exception. **Default:** `'ignore'`.
* `ignore` {string|RegExp|Function|Array} Pattern(s) to ignore. Strings are
glob patterns (using [`minimatch`][]), RegExp patterns are tested against
the filename, and functions receive the filename and return `true` to
Expand Down
Loading