Skip to content

Support globs in file_contains - #123

Merged
andrew merged 1 commit into
mainfrom
add-file-contains-globs
Jul 31, 2026
Merged

Support globs in file_contains#123
andrew merged 1 commit into
mainfrom
add-file-contains-globs

Conversation

@andrew

@andrew andrew commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Allows glob keys such as **/*.rs in detect.file_contains while preserving exact-path reads.

Glob scans reuse the detector’s directory exclusions, inspect regular files, honor scan depth and tracked-file filtering, and use the same matching rules during changed-file filtering. Includes cases for root and nested files, multiple matches, skipped directories, exact paths, and near misses.

@andrew
andrew merged commit 86e8f57 into main Jul 31, 2026
8 checks passed
@andrew
andrew deleted the add-file-contains-globs branch July 31, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant