Skip to content

fix(rust): skip scanning dirs that can't match - #85

Open
nik9000 wants to merge 1 commit into
varar-dev:mainfrom
nik9000:rust_scan_faster
Open

fix(rust): skip scanning dirs that can't match#85
nik9000 wants to merge 1 commit into
varar-dev:mainfrom
nik9000:rust_scan_faster

Conversation

@nik9000

@nik9000 nik9000 commented Aug 7, 2026

Copy link
Copy Markdown

Closes #83

What this changes

Modifies the find_oaths rust internals to skip scanning directories that can't possibly can't match. This speeds up my usage which wants to scan the repo root to pick up oaths from the README.

How you verified it

Verified locally by make rust. make check fails, see #84.

Also verified the performance boost by using it on my project locally.

  • I have read and can explain every line of this diff
  • The gates pass locally
  • Commits follow Conventional Commits
  • Your linter passed on it. I'm not an expert on conventional commits. I don't use it professionally

Modifies the `find_oaths` rust internals to skip scanning directories
that can't possibly can't match. This speeds up my usage which wants to
scan the repo root to pick up oaths from the README.
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.

Eagerly exclude un-match-able directories

1 participant