mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-09 10:42:28 +01:00
* Harden content exclusion failrue condition * Address review feedback on content exclusion hardening - findFiles appends the exclusion as its own exclude entry instead of merging it into the caller's patterns, preserving RelativePattern baseUri semantics. - Remove combineGlob, now unused. VS Code's search glob engine cannot combine a character class alternative into a larger group, so a string merge is lossy for some inputs no matter how the braces are handled. - Apply maxResults to the filtered text search stream and cancel the search once the limit is met, so excluded hits cannot use up the caller's quota. - Bound the concurrency of exclusion checks when filtering search results. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 26d0669e-e852-4f31-9aca-a0f58930e66c --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 26d0669e-e852-4f31-9aca-a0f58930e66c