Skip to content

directory scanning should respect gitignore by default #165

Closed

Description

OSV-scanner should respect the gitignore by default when walking directories and files.

A project might have a lot of deep directories (e.g. node_modules, build files...etc) that both slows down the scanner and produces a lot of noise. These directories are generally put in the .gitignore files, so ignoring them while scanning solves this by default.

A flag should be added to disable this .gitignore skipping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions