drin commented on code in PR #14071:
URL: https://github.com/apache/arrow/pull/14071#discussion_r983933455
##########
cpp/src/arrow/util/uri.h:
##########
@@ -45,6 +45,9 @@ class ARROW_EXPORT Uri {
/// explicit scheme.
std::string scheme() const;
+ /// Convenience function that returns true if the scheme() is "file"
+ bool is_file_scheme() const;
Review Comment:
yeah, I thought it was interesting that there is an `is_file_uri_` property,
but since there is a `port()` function that returns the `port_` property, I
figured I would just keep consistent.
--
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]