-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add APIs that remove redundant segments from paths #37939
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
Closed
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
918bfba
Remove old internal API unit tests.
carlossanlop 1319ff0
Add refs to System.Runtime.Extensions
carlossanlop 523784a
csproj and projitems changes
carlossanlop 470b4d3
Add Path.cs new API code and const int for initial buffer length.
carlossanlop 2e2a925
Update platform-specific Path calls to old internal method.
carlossanlop 1e17018
Remove old internal method from PathInternal
carlossanlop 170140d
Add RedundantSegmentHelper class, with platform-specific methods.
carlossanlop ce0e1a7
Existing GetFullPath methods: align test cases, add missing tests for…
carlossanlop b0ca7d6
RedundantSegment unit tests.
carlossanlop a75b43a
Address suggestions
carlossanlop a60fe1b
Add comment to explain charsToSkip vs prefixAndRootLength.
carlossanlop 5160156
Update license header.
carlossanlop 5716533
Improve public documentation.
carlossanlop d791614
Remove unused directive and add nullability directive to Unix Path file.
carlossanlop 8236cdc
Remove duplicate test cases causing test warnings.
carlossanlop 45c3de1
Add RedundantSegmentHelper class, with platform-specific methods.
carlossanlop 9d3e004
RedundantSegment unit tests.
carlossanlop c92959d
Address suggestions
carlossanlop f1fa5d1
Add comment to explain charsToSkip vs prefixAndRootLength.
carlossanlop ec7bca3
Update license header.
carlossanlop 19405cd
Remove unused directive and add nullability directive to Unix Path file.
carlossanlop 90dc158
Add condition to Interop.Libraries.cs in S.R.Ext.Tests.csproj require…
carlossanlop 39d9387
Small fixes
carlossanlop c65e25f
Fix merge conflict
carlossanlop 3b72390
Use string overload in Path.GetFullPath to ensure the same string is …
carlossanlop 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
There are no files selected for viewing
340 changes: 0 additions & 340 deletions
340
src/libraries/Common/tests/Tests/System/IO/PathInternal.Tests.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.