You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: readme.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ This function is backed by [`fast-glob`](https://github.com/mrmlnc/fast-glob#isd
124
124
125
125
### isGitIgnored(options?)
126
126
127
-
Returns a `Promise<(path: string) => boolean>` indicating whether a given path is ignored via a `.gitignore` file.
127
+
Returns a `Promise<(path: URL | string) => boolean>` indicating whether a given path is ignored via a `.gitignore` file.
128
128
129
129
Takes `cwd?: URL | string` and `ignore?: string[]` as options. `.gitignore` files matched by the ignore config are not used for the resulting filter function.
0 commit comments