diff --git a/README.md b/README.md index 023cd779..152862c6 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/glob.ts b/src/glob.ts index 89bd075c..6beadfe2 100644 --- a/src/glob.ts +++ b/src/glob.ts @@ -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