-
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle UNC paths, add preserveMultipleSlashes
This adds some slightly modified behavior when a pattern or path starts with `//` on Windows. - In the case of `//?/<drive letter>:/...`, the `?` is treated as a literal character, rather than a wildcard. That is, `//?/c:` will _not_ match `//x/c:`. - UNC patterns starting with `//?/<drive letter>:/` will match file paths starting with `<drive letter>:` if the drive letters match case-insensitively. - File paths starting with `//?/<drive letter>:/` will match file patterns starting with `<drive letter>:` if the drive letters match case-insensitively. Add `{preserveMultipleSlashes:true}` option to suppress the behavior where multiple consecutive `/` characters would be effectively coerced into a single path portion separator.
- Loading branch information
Showing
15 changed files
with
471 additions
and
265 deletions.
There are no files selected for viewing
This file contains 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 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.