MCPcopy Create free account
hub / github.com/NativeScript/android / ada_clear_search

Function ada_clear_search

test-app/runtime/src/main/cpp/ada/ada.cpp:17321–17326  ·  view source on GitHub ↗

* 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 `?`. */

Source from the content-addressed store, hash-verified

17319 * removal of the search attribute, even if it has a value of `?`.
17320 */
17321void 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
17328bool ada_has_credentials(ada_url result) noexcept {
17329 ada::result<ada::url_aggregator>& r = get_instance(result);

Callers

nothing calls this directly

Calls 1

clear_searchMethod · 0.80

Tested by

no test coverage detected