Skip to content

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

Merged
merged 1 commit into from
Jul 8, 2016

Conversation

mbvreddy
Copy link
Contributor

Implementation for NSURL.standardizedURL and NSURL.filePathURL is added and enabled tests for NSURL.standardizedURL in TestNSURL.swift

@@ -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 {
Copy link
Contributor

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.

@mbvreddy
Copy link
Contributor Author

Right. I will change and squash it now.

@mbvreddy
Copy link
Contributor Author

@parkera I've implemented the changes suggested.

@parkera
Copy link
Contributor

parkera commented May 13, 2016

@swift-ci please test

@mbvreddy
Copy link
Contributor Author

I'm in process of resolving conflicts by re-basing and recompiling.

@mbvreddy
Copy link
Contributor Author

resolved conflicts

@mbvreddy
Copy link
Contributor Author

@parkera After rebasing, I changed the fix and considered your earlier suggestions. Please review.

@mbvreddy
Copy link
Contributor Author

mbvreddy commented Jul 8, 2016

@parkera please review

@parkera
Copy link
Contributor

parkera commented Jul 8, 2016

@swift-ci please test

@parkera
Copy link
Contributor

parkera commented Jul 8, 2016

Thanks for the ping

@parkera parkera merged commit b92b859 into swiftlang:master Jul 8, 2016
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.

2 participants