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

Method set_href

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

Source from the content-addressed store, hash-verified

12919}
12920
12921bool url::set_href(const std::string_view input) {
12922 ada::result<ada::url> out = ada::parse<ada::url>(input);
12923
12924 if (out) {
12925 *this = *out;
12926 }
12927
12928 return out.has_value();
12929}
12930
12931} // namespace ada
12932/* end file src/url.cpp */

Callers 2

SetHrefMethod · 0.80
ada_set_hrefFunction · 0.80

Calls 4

overlapsFunction · 0.85
to_stringMethod · 0.60
has_valueMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected