We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6784bc commit 7a444d9Copy full SHA for 7a444d9
libgobuster/helpers.go
@@ -69,6 +69,10 @@ func (set *Set[T]) Stringify() string {
69
}
70
71
// nolint:unused
72
+// this method is much more faster than lineCounter but has the following errors:
73
+// - empty files are reported as 1 lines
74
+// - files only containing a newline are reported as 1 lines
75
+// - also counts lines with comments
76
func lineCounter_old(r io.Reader) (int, error) {
77
buf := make([]byte, 32*1024)
78
count := 1
0 commit comments