-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fastwalk: add ToSlash option for enforcing forward-slash paths
This commit adds the Config.ToSlash option which forces paths to be joined with a forward-slash instead of the default OS path separator. This mostly applies to Go binaries that are compiled for Windows but run under the Windows Subsystem for Linux (WSL) so this commit also adds a helper function DefaultToSlash which detects if we're a Windows exe running in WSL.
- Loading branch information
1 parent
22a282e
commit 0446dfe
Showing
2 changed files
with
125 additions
and
7 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