Fix with_suffix re-encoding entire name#1468
Merged
bdraco merged 7 commits intoaio-libs:masterfrom Apr 5, 2025
NTFSvolume:with_suffix_fix
Merged
Fix with_suffix re-encoding entire name#1468bdraco merged 7 commits intoaio-libs:masterfrom NTFSvolume:with_suffix_fix
with_suffix re-encoding entire name#1468bdraco merged 7 commits intoaio-libs:masterfrom
NTFSvolume:with_suffix_fix
Conversation
CodSpeed Performance ReportMerging #1468 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1468 +/- ##
=======================================
Coverage 98.91% 98.92%
=======================================
Files 32 32
Lines 6012 6045 +33
Branches 358 362 +4
=======================================
+ Hits 5947 5980 +33
Misses 62 62
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Same code as `with_name` but quotes only the new suffix, leaving the existing name as is
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What do these changes do?
Make
with_suffixonly encode the new suffix instead of the entire name. The code is the same aswith_nameexcept that it only applies the quoter to the suffix, not the name.Are there changes in behavior for the user?
Yes
Related issue number
with_suffixalways reencode entire name #1467Checklist