Skip to content

IPath.WithExtension: behavior and documentation improvements - #230

Open
ForNeVeR wants to merge 1 commit into
mainfrom
bugfix/153.weird-extensions
Open

ForNeVeR wants to merge 1 commit 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

This branch has not been deployed

No deployments
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