Skip to content

ensure we symlink/junction/copy files/folders ideally on windows rega…#37

Merged
stefanpenner merged 1 commit into
masterfrom
optimize-windows-link-copy-function
Jul 27, 2018
Merged

ensure we symlink/junction/copy files/folders ideally on windows rega…#37
stefanpenner merged 1 commit into
masterfrom
optimize-windows-link-copy-function

Conversation

@stefanpenner

Copy link
Copy Markdown
Contributor

…rdless of if files or folders are symlinkable.

@stefanpenner

Copy link
Copy Markdown
Contributor Author

cc @ef4

Comment thread index.js
fs.writeFileSync(canLinkSrc, '');
} catch (e) {
return false
return result;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess this line isn't quite correct

@joliss

joliss commented Feb 21, 2018

Copy link
Copy Markdown
Member

Related to this comment, I'm concerned that we're adding a lot of complexity here without understanding why it is needed.

Do we actually have a reproducible case where files are symlinkable but directories are not? I'd like to avoid adding a lot of code only based on hearsay, for what might turn out to be a rare corner case.

Comment thread index.js Outdated
Comment thread index.js Outdated

@rwjblue rwjblue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, once we kill that debugger

@stefanpenner
stefanpenner force-pushed the optimize-windows-link-copy-function branch from 7a450a1 to d5aef0c Compare July 27, 2018 19:50
…rdless of if files or folders are symlinkable.
@stefanpenner
stefanpenner force-pushed the optimize-windows-link-copy-function branch 2 times, most recently from 012d5d1 to 9fd6d87 Compare July 27, 2018 20:28
@stefanpenner
stefanpenner merged commit 10749a2 into master Jul 27, 2018
@rwjblue
rwjblue deleted the optimize-windows-link-copy-function branch December 6, 2019 17:26
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.

4 participants