tustvold commented on code in PR #3663:
URL: https://github.com/apache/arrow-rs/pull/3663#discussion_r1096719503
##########
object_store/src/path/mod.rs:
##########
@@ -162,6 +162,13 @@ impl Path {
})
}
+ /// Parse a url encoded string as a [`Path`], returning a [`Error`] if
invalid,
+ /// as defined on the docstring for [`Path`]
+ pub fn from_url_path(path: impl AsRef<str>) -> Result<Self, Error> {
Review Comment:
> ps: then we can name it from_url(url: impl AsRef<URL>) instead?
I think I would keep it as `from_url_path` as it will ignore the rest of the
URL
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]