Skip to content

IPath.WithExtension: behavior and documentation improvements - #230

Merged
ForNeVeR merged 3 commits into
mainfrom
bugfix/153.weird-extensions
Oct 4, 2026
Merged

ForNeVeR merged 3 commits into
mainfrom
bugfix/153.weird-extensions

Conversation

@ForNeVeR

Copy link
Copy Markdown
Owner

I have found some dubious use cases for the .WithExtension and decided to exterminate them.

The new contract is that it will never change the path segment count (never introduce a new entry or destroy an existing one), and it won't change the last path segment type (won't convert root to anything else, parent/current folder reference to anything else).

@ForNeVeR ForNeVeR self-assigned this Sep 20, 2026
@ForNeVeR
ForNeVeR force-pushed the bugfix/153.weird-extensions branch from 32bf08b to b7a88fb Compare October 4, 2026 18:29
@ForNeVeR
ForNeVeR force-pushed the bugfix/153.weird-extensions branch from 1dbf364 to f1b5f3a Compare October 4, 2026 18:38
@ForNeVeR
ForNeVeR merged commit 8c36b9c into main Oct 4, 2026
10 checks passed
@ForNeVeR
ForNeVeR deleted the bugfix/153.weird-extensions branch October 4, 2026 19:22
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.

1 participant