Archived
vendor: Update github.com/gobwas/glob
This commit is contained in:
1 parent
06dc91fadf
commit
c3c7798446
15 files changed
+899
-882
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
package strings
|
||||
|
||||
import "strings"
|
||||
|
||||
func IndexAnyRunes(s string, rs []rune) int {
|
||||
for _, r := range rs {
|
||||
if i := strings.IndexRune(s, r); i != -1 {
|
||||
return i
|
||||
}
|
||||
}
|
||||
|
||||
return -1
|
||||
}
|
||||
Reference in new issue
Block a user