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

Function ada_get_password

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

Source from the content-addressed store, hash-verified

17108}
17109
17110ada_string ada_get_password(ada_url result) noexcept {
17111 ada::result<ada::url_aggregator>& r = get_instance(result);
17112 if (!r) {
17113 return ada_string_create(nullptr, 0);
17114 }
17115 std::string_view out = r->get_password();
17116 return ada_string_create(out.data(), out.length());
17117}
17118
17119ada_string ada_get_port(ada_url result) noexcept {
17120 ada::result<ada::url_aggregator>& r = get_instance(result);

Callers

nothing calls this directly

Calls 4

ada_string_createFunction · 0.85
get_passwordMethod · 0.60
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected