cleaning up some comments

This commit is contained in:
zricethezav committed 2020-01-11 16:54:09 -05:00
1 parent a0f72a4e35
commit b4c2f8e69c
2 files changed
+17 -20

No files matched your search

+1 -3
View File
@@ -18,12 +18,10 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing/object"
)
const maxLineLen = 200
// Inspect patch accepts a patch, commit, and repo. If the patches contains files that are
// binary, then gitleaks will skip auditing that file OR if a file is matched on
// whitelisted files set in the configuration. If a global rule for files is defined and a filename
// matches said global rule, then a laek is sent to the manager.
// matches said global rule, then a leak is sent to the manager.
// After that, file chunks are created which are then inspected by InspectString()
func inspectPatch(patch *object.Patch, c *object.Commit, repo *Repo) {
for _, f := range patch.FilePatches() {