* Removes the search of the URL. * * Despite `ada_set_search` method, this function allows the complete * removal of the search attribute, even if it has a value of `?`. */
| 17319 | * removal of the search attribute, even if it has a value of `?`. |
| 17320 | */ |
| 17321 | void ada_clear_search(ada_url result) noexcept { |
| 17322 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17323 | if (r) { |
| 17324 | r->clear_search(); |
| 17325 | } |
| 17326 | } |
| 17327 | |
| 17328 | bool ada_has_credentials(ada_url result) noexcept { |
| 17329 | ada::result<ada::url_aggregator>& r = get_instance(result); |
nothing calls this directly
no test coverage detected