-
Notifications
You must be signed in to change notification settings - Fork 45
GenericPath cleanup #422
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
GenericPath cleanup #422
Conversation
|
||
See `normalized` for a full description. | ||
*/ | ||
void normalize() |
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.
No deprecation ?
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.
Neat
source/vibe/core/path.d
Outdated
|
||
/** Replaces the path representation with its normalized form. | ||
|
||
See `normalized` for a full description. |
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.
See `normalized` for a full description. | |
This is a simple wrapper around `normalized` which should be preferred. See `normalized` for a full description. |
If you don't want to deprecate it.
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've searched through the code base of a few projects and normalize()
is being used in a surprising amount of cases, so I'd like to avoid breaking the API for this. I've adjusted the a bit wording here, but went with this solution.
.normalize
and.normalized
.Segment2
and associated methods