| 17108 | } |
| 17109 | |
| 17110 | ada_string ada_get_password(ada_url result) noexcept { |
| 17111 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17112 | if (!r) { |
| 17113 | return ada_string_create(nullptr, 0); |
| 17114 | } |
| 17115 | std::string_view out = r->get_password(); |
| 17116 | return ada_string_create(out.data(), out.length()); |
| 17117 | } |
| 17118 | |
| 17119 | ada_string ada_get_port(ada_url result) noexcept { |
| 17120 | ada::result<ada::url_aggregator>& r = get_instance(result); |
nothing calls this directly
no test coverage detected