-
Notifications
You must be signed in to change notification settings - Fork 681
Rewrite matchFiles without regexp #1483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
jakebailey
wants to merge
55
commits into
main
Choose a base branch
from
jabaile/eliminate-regexp2-copilot-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 20 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
1fc3c95
Don't use a regex in IsImplicitGlob
jakebailey 948c0f5
Attempt one
jakebailey 9a2bd4b
lint
jakebailey 9b87477
More
jakebailey 84211d2
unexport
jakebailey 323344e
Move code
jakebailey 113391c
More removal
jakebailey 22b1daa
Benchmark
jakebailey 93b2598
Lint
jakebailey 415dae2
Optimize matchFilesNew: add path caching and efficient string concate…
jakebailey 99d747c
Optimize path normalization, glob matching, and result collection for…
jakebailey d738488
Remove more regexp2
jakebailey d415699
Rename
jakebailey 2e09780
Undo
jakebailey 066ba11
Rename funcs
jakebailey 2c8cbf8
Fix test
jakebailey d0c7409
Fix
jakebailey b497c2e
lint
jakebailey 104acbb
tests
jakebailey ccdf5b6
Move code to new package so compilation is not slow
jakebailey 234566f
Unexport more
jakebailey 8493b7c
Missed a func
jakebailey 61cb696
Fix glob pattern matching for explicit .min.js includes
jakebailey 0c77771
Unexport
jakebailey 3554586
Split new old again
jakebailey ffe5017
Testing
jakebailey 1821416
Add differential testing and fix matchesExcludeNew for extensionless …
jakebailey 8445b00
consolidate tests
jakebailey 45c06d2
Rando tests
jakebailey 6e089a8
Split benchmarks out into separate file
jakebailey e838322
Clearer
jakebailey 8763fe3
Check
jakebailey a480ac4
Merge branch 'main' into jabaile/eliminate-regexp2-copilot-2
jakebailey 3085416
reorder tests
jakebailey 9edfd47
Update tests, but they are wrong
jakebailey e6174f2
Delete unused
jakebailey d882555
note surprising but correct result
jakebailey f419cd1
Strada did work this way, oh no
jakebailey 4a1312e
wip
jakebailey dcb3cdc
it's doing something
jakebailey d77cf49
more tests unfortunately
jakebailey 42edfff
hmm
jakebailey 8b061bc
Fix lint
jakebailey 5dd4298
Daniel's suggestions
jakebailey 0290fa1
Move code needed for both out of old
jakebailey 9bd9941
Rando copilot suggestions
jakebailey a4afd76
Use SplitSeq where possible
jakebailey bf9fdc4
Modernize
jakebailey faa832e
cleanup
jakebailey cbb7570
Merge branch 'main' into jabaile/eliminate-regexp2-copilot-2
jakebailey 34998b5
more tests showing differences
jakebailey 46ab1bd
Use any so we can do symlink tests soon
jakebailey c8c3097
This is getting funky
jakebailey 5954e9a
baseline
jakebailey 6028c94
lint
jakebailey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.