Skip to content

Commit ee44dd0

Browse files
committed
test updates, and renamed caseInsensitive
1 parent 8cf3fc3 commit ee44dd0

File tree

5 files changed

+224
-204
lines changed

5 files changed

+224
-204
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ Options that may be passed to `Glob`, `GlobWalk`, or `FilepathGlob`. Any number
138138
of options may be passed to these functions, and in any order, as the last
139139
argument(s).
140140

141+
```go
142+
WithCaseInsensitive()
143+
```
144+
145+
WithCaseInsensitive is an option that can be passed to Glob, GlobWalk, or
146+
FilepathGlob. If passed, doublestar will treat all alphabetic characters as
147+
case insensitive (i.e. "a" in the pattern would match "a" or "A"). This is
148+
useful for platforms like Windows where paths are case insensitive by default.
149+
141150
```go
142151
WithFailOnIOErrors()
143152
```

0 commit comments

Comments
 (0)