-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add internal junction support to link APIs #57996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8e7069a
Add mount point support to link APIs.
carlossanlop 11960b4
Add junction and virtual drive tests.
carlossanlop e59f2b2
Move PrintName comment outside of if else of reparseTag check.
carlossanlop 2923c9e
Add Windows platform specific attribute to junction and virtual drive…
carlossanlop b6cf857
Revert FILE_NAME_OPENED to FILE_NAME_NORMALIZED
carlossanlop 3ef33c2
Revert addition of FILE_NAME_OPENED const.
carlossanlop bc12ecf
Remove unnecessary enumeration junction test.
carlossanlop 8957765
Rename GetNewCwdPath to ChangeCurrentDirectory
carlossanlop ce2aa86
Make Junction_ResolveLinkTarget a theory and test both resolveFinalTa…
carlossanlop 999cddc
Shorter name for targetPath string. Typo in comment. Fix Debug.Assert.
carlossanlop 42fb3a0
Clarify test comment. Change PlatformDetection for OperatingSystem ch…
carlossanlop ca1f2b2
Cleaner unit tests for virtual drive, add indirection test
carlossanlop 6f6d368
Skip virtual drive tests in Windows Nano (subst not available). Small…
carlossanlop ec8000b
Simplify Junctions tests, add indirection test
carlossanlop 7df549e
Address test suggestions.
carlossanlop be9e582
Revert MountHelper.CreateSymbolicLink changes. Unrelated, and will be…
carlossanlop d33bda3
Add dwReserved0 check for mount points in GetFinalLinkTarget.
carlossanlop 244246b
Use Yoda we don't.
carlossanlop bd7e9cc
Fix CI issues
jozkee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert MountHelper.CreateSymbolicLink changes. Unrelated, and will be…
… refactored/removed in the future. Detect if SUBST is available in Windows machine, to bring back Nano.
- Loading branch information
commit be9e582750ff6298bda7d2c479320ef9372f3d7f
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code above was not modified, but we should rather refactor it as well:
Depeneding on your personal preferences it could be:
Or
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also refactored it, initially. I used the code you shared the first time. It caused all the symlink enumeration tests to fail. It was taking me too long to figure out why so I decided to revert it and the tests passed again.
I can take a look again in the related PR for AppExecLinks, if you don't mind.