-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not dereference symbolic links in win32 when using cp_r
The current behaviour: - When `Source` is a folder, `robocopy` is used. It follows symbolic links and copies the original data, creating a raw file - When `Source` is a file/symbolic link, `file:copy` is used. It copies the raw data creating a raw file. The change in this commit will use `/sl` when copying files from Source folder and `file:make_symlink` when Source is a symbolic link on Windows. If the `[{dereference, true}]` option is given, it will dereference the files and copy the content instead of a symbolic link This change has been added so the Windows copy behaves more unix one.
- Loading branch information
Showing
2 changed files
with
119 additions
and
56 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