Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ func NewDefault() *Scanner {
}

// Scan recursively walks the directory and classifies any detected environment files.
// It never opens or reads file contents.
// Secret detection reads up to 1 MB from each non-allowlisted environment file,
// skipping binary files.
func (s *Scanner) Scan(dir string) (*Result, error) {
if dir == "" {
dir = "."
Expand Down
Loading