MCPcopy Create free account
hub / github.com/apache/arrow / password

Method password

cpp/src/arrow/util/uri.cc:177–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177std::string Uri::password() const {
178 auto userpass = TextRangeToView(impl_->uri_.userInfo);
179 auto sep_pos = userpass.find_first_of(':');
180 if (sep_pos == std::string_view::npos) {
181 return "";
182 }
183 return UriUnescape(userpass.substr(sep_pos + 1));
184}
185
186std::string Uri::path() const {
187 const auto& segments = impl_->path_segments_;

Callers 6

FromProtoFunction · 0.80
FromUriMethod · 0.80
FromUriMethod · 0.80
FromUriAndOptionsMethod · 0.80
FromUriMethod · 0.80
TESTFunction · 0.80

Calls 3

TextRangeToViewFunction · 0.85
UriUnescapeFunction · 0.85
substrMethod · 0.80

Tested by 1

TESTFunction · 0.64