Skip to content
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

Improvements to URIs.splitpath #16

Merged
merged 2 commits into from
Jan 13, 2021
Merged

Improvements to URIs.splitpath #16

merged 2 commits into from
Jan 13, 2021

Conversation

c42f
Copy link
Collaborator

@c42f c42f commented Jan 12, 2021

  • Add a version taking a URI
  • Add rstrip_trailing_segment option to splitpath
  • Make robust to any trailing query or fragment parts when a string (rather than URI) is provided.
  • Fix bug where single character paths would become empty
  • Add more tests

Fixes #14

@c42f c42f mentioned this pull request Jan 12, 2021
Copy link
Member

@quinnj quinnj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/URIs.jl Outdated Show resolved Hide resolved
c42f added 2 commits January 13, 2021 13:21
* Add a version taking a URI
* Add rstrip_trailing_segment option to splitpath
* Make robust to any trailing query or fragment parts when a string
  (rather than URI) is provided.
* Fix bug where single character paths would become empty
* Add more tests
New minor version for addition of splitpath(::URI) feature.
@c42f c42f force-pushed the cjf/splitpath-improvements branch from 8b1bace to b638ce3 Compare January 13, 2021 03:21
@c42f
Copy link
Collaborator Author

c42f commented Jan 13, 2021

Thanks for the review, let's merge this.

@c42f c42f merged commit 1c255e9 into master Jan 13, 2021
@c42f c42f deleted the cjf/splitpath-improvements branch January 13, 2021 03:27
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.

splitpath and URL parameters
2 participants