-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Update of glob-style pattern matching #8841
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
Merged
Merged
Changes from 20 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
f9ae3e4
Initial support for globs in tsconfig.json
rbuckton 30575db
Added caching, more tests
rbuckton 5de2fcc
Merge branch 'master' into glob2
rbuckton def3ba1
Added stubs to ChakraHost interface for readDirectoryNames/readFileNames
rbuckton c3c3bca
Fixed typos in comments
rbuckton bf9af46
Changed name of 'reduce' method added to FileSet
rbuckton d857250
Heavily revised implementation that relies on an updated 'readDirecto…
rbuckton 247657f
Merge branch 'master' into glob2
rbuckton 94a5327
more tests
rbuckton 6f85fe9
Minor update to shims.ts for forthcoming VS support for globs.
rbuckton d23df34
Detailed comments for regular expressions and renamed some files.
rbuckton c224917
Comment cleanup
rbuckton cde12ef
Merge branch 'master' into glob2
rbuckton c1205eb
Fixed new linter warnings
rbuckton 084b94c
Merge branch 'master' into glob2
riknoll db85643
Fixing linter and test errors
riknoll c340c88
Bringing back excludes error and fixing faulty test
riknoll 50f0033
Merge branch 'master' into glob2_merged
riknoll aa5c51c
Fixing lint errors
riknoll 0415b95
Passing regular expressions to native hosts
riknoll 08ca1c0
Merge branch 'master' into glob2_merged
riknoll 86cde9e
Updating readDirectory for tsserverProjectSystem unit tests
riknoll 95072aa
Responding to PR feedback
riknoll f817ffa
Merge branch 'master' into glob2_merged
riknoll f73ed59
Adding more matchFiles test cases
riknoll b49acd5
Merge branch 'master' into glob2_merged
riknoll 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May want to put a
try..catcharound the call tostatSync. If we don't, then we'll fail to return the contents of a directory if even one entry in the directory has more restrictive permissions that would causestatSyncto fail.