Skip to content

Commit de0fcec

Browse files
Fix typo
1 parent 831024f commit de0fcec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func (e *Engine) DetectFile(ctx context.Context, item plugins.ISourceItem, secre
151151
return nil
152152
}
153153

154-
// Check if file size exceeds the file threshold, if so, use chu'king, if not, read the whole file
154+
// Check if file size exceeds the file threshold, if so, use chunking, if not, read the whole file
155155
if fileSize > e.chunk.GetFileThreshold() {
156156
// ChunkSize * 2 -> raw read buffer + bufio.Reader's internal slice
157157
// + (ChunkSize+MaxPeekSize) -> peekBuf backing slice

0 commit comments

Comments
 (0)