mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
refactor(detect): create readUntilSafeBoundary + add tests (#1676)
This commit is contained in:
1 parent
dbe3746455
commit
4c3da6ebb7
5 files changed
+190
-62
No files matched your search
@@ -190,3 +190,7 @@ func containsDigit(s string) bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func isWhitespace(ch byte) bool {
|
||||
return ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r'
|
||||
}
|
||||
Reference in new issue
Block a user