trufflehog/pkg/common/glob
Miccah 23ae970bb0
Add generic glob filter (#1858)
* Add generic glob filter

* Make nil filters safe

* Include glob in error

* Use better example for exclude and include test

* Allow user to configure the ambiguous case

* Rename Pass to ShouldInclude and invert logic

* Test default *Filter and Filter have the same behavior of allow

* Add property based tests

* Remove configuration for the not found ambiguous case
2023-10-18 11:48:31 -07:00
..
glob.go Add generic glob filter (#1858) 2023-10-18 11:48:31 -07:00
glob_test.go Add generic glob filter (#1858) 2023-10-18 11:48:31 -07:00