trufflehog/pkg/sources/git
Richard Gomez b3ff12d1e9
Fix handling of GitHub ratelimit information (#2041)
This is a follow-up to #1912, which used the headers from the response to determine rate-limiting information, instead of using the values from RateLimitError.Rate. Although that logic seemed solid, I discovered that it did not work in some circumstances. This lead to the "unexpected" path more often than intended, and periodic instances where requests would be made before the ratelimit was refreshed.
2024-02-07 09:11:12 -05:00
..
cmd_check.go [chore] - Compile regex once (#2176) 2023-12-07 07:26:27 -08:00
git.go Fix handling of GitHub ratelimit information (#2041) 2024-02-07 09:11:12 -05:00
git_test.go Refactor git source to support scanning units (#2083) 2023-11-01 09:52:58 -07:00
scan_options.go initial support for bare repositories (#1499) 2023-08-03 11:23:41 -05:00
unit.go Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00