-
Notifications
You must be signed in to change notification settings - Fork 1.2k
implementation for NSURL.standardizedURL and NSURL.filePathURL properties #360
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
Conversation
@@ -28,6 +28,40 @@ private func _standardizedPath(_ path: String) -> String { | |||
return path | |||
} | |||
|
|||
/* internal function to remove .. and . from path */ | |||
internal func _standardizedURLPath(_ path: String) -> String { |
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.
This should be private actually.
Right. I will change and squash it now. |
@parkera I've implemented the changes suggested. |
@swift-ci please test |
I'm in process of resolving conflicts by re-basing and recompiling. |
resolved conflicts |
@parkera After rebasing, I changed the fix and considered your earlier suggestions. Please review. |
@parkera please review |
@swift-ci please test |
Thanks for the ping |
Implementation for NSURL.standardizedURL and NSURL.filePathURL is added and enabled tests for NSURL.standardizedURL in TestNSURL.swift