Skip to content

Commit

Permalink
docs: correct ignore method names
Browse files Browse the repository at this point in the history
fix #607

PR-URL: #608
Credit: @jedwards1211
Close: #608
Reviewed-by: @isaacs
  • Loading branch information
jedwards1211 authored and isaacs committed Sep 2, 2024
1 parent feaf0a8 commit 08958fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,8 @@ share the previously loaded cache.
as modified time, permissions, and so on. Note that this will
incur a performance cost due to the added system calls.

- `ignore` string or string[], or an object with `ignore` and
`ignoreChildren` methods.
- `ignore` string or string[], or an object with `ignored` and
`childrenIgnored` methods.

If a string or string[] is provided, then this is treated as a
glob pattern or array of glob patterns to exclude from matches.
Expand Down
2 changes: 1 addition & 1 deletion src/glob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export interface GlobOptions {
follow?: boolean

/**
* string or string[], or an object with `ignore` and `ignoreChildren`
* string or string[], or an object with `ignored` and `childrenIgnored`
* methods.
*
* If a string or string[] is provided, then this is treated as a glob
Expand Down

0 comments on commit 08958fa

Please sign in to comment.