Skip to content

Add option to convert backslashes in path pattern to forward slashes#128

Merged
dorny merged 1 commit intomainfrom
issue-127-fix-pattern-with-backslash
Jun 22, 2021
Merged

Add option to convert backslashes in path pattern to forward slashes#128
dorny merged 1 commit intomainfrom
issue-127-fix-pattern-with-backslash

Conversation

@dorny
Copy link
Owner

@dorny dorny commented Jun 22, 2021

The fast-glob library that is internally used interprets backslashes as escape characters. If enabled, all backslashes in provided path will be replaced by forward slashes and act as directory separators. It might be useful when path input variable is composed dynamically from existing directory paths on Windows.

Closes #127

The fast-glob library that is internally used interprets backslashes as escape characters. If enabled, all backslashes in provided path will be replaced by forward slashes and act as directory separators. It might be useful when path input variable is composed dynamically from existing directory paths on Windows.

Closes #127
@dorny dorny merged commit a585725 into main Jun 22, 2021
@dorny dorny deleted the issue-127-fix-pattern-with-backslash branch June 22, 2021 20:40
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.

Fails to find files with mixed backward slashes in path

1 participant