Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct ignore method names #608

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
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 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
Loading