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

Method set_pathname

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

Source from the content-addressed store, hash-verified

12886}
12887
12888bool url::set_pathname(const std::string_view input) {
12889 if (has_opaque_path) {
12890 return false;
12891 }
12892 path.clear();
12893 parse_path(input);
12894 return true;
12895}
12896
12897bool url::set_protocol(const std::string_view input) {
12898 std::string view(input);

Callers 2

SetPathNameMethod · 0.80
ada_set_pathnameFunction · 0.80

Calls 3

overlapsFunction · 0.85
clearMethod · 0.65
insertMethod · 0.45

Tested by

no test coverage detected