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

Function ada_clear_hash

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

* Removes the hash of the URL. * * Despite `ada_set_hash` method, this function allows the complete * removal of the hash attribute, even if it has a value of `#`. */

Source from the content-addressed store, hash-verified

17306 * removal of the hash attribute, even if it has a value of `#`.
17307 */
17308void ada_clear_hash(ada_url result) noexcept {
17309 ada::result<ada::url_aggregator>& r = get_instance(result);
17310 if (r) {
17311 r->clear_hash();
17312 }
17313}
17314
17315/**
17316 * Removes the search of the URL.

Callers

nothing calls this directly

Calls 1

clear_hashMethod · 0.80

Tested by

no test coverage detected