-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Symlink()/Readlink() to take/return path.Parser (#1880)
On Windows, symlink targets may contain drive letters and are supposed to use backslashes. This is problematic, because the Directory.Symlink() and Directory.Readlink() methods are currently supposed to return UNIX-like pathname strings. By altering these functions to use path.Parser, users of this API don't need to care about pathname conventions used on the host operating system.
- Loading branch information
1 parent
4d0d7a3
commit e8fd693
Showing
4 changed files
with
37 additions
and
26 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
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