| 17117 | } |
| 17118 | |
| 17119 | ada_string ada_get_port(ada_url result) noexcept { |
| 17120 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17121 | if (!r) { |
| 17122 | return ada_string_create(nullptr, 0); |
| 17123 | } |
| 17124 | std::string_view out = r->get_port(); |
| 17125 | return ada_string_create(out.data(), out.length()); |
| 17126 | } |
| 17127 | |
| 17128 | ada_string ada_get_hash(ada_url result) noexcept { |
| 17129 | ada::result<ada::url_aggregator>& r = get_instance(result); |
nothing calls this directly
no test coverage detected