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

Function process_base_url_string

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

Source from the content-addressed store, hash-verified

16685}
16686
16687std::string process_base_url_string(std::string_view input,
16688 url_pattern_init::process_type type) {
16689 // If type is not "pattern" return input.
16690 if (type != url_pattern_init::process_type::pattern) {
16691 return std::string(input);
16692 }
16693 // Return the result of escaping a pattern string given input.
16694 return escape_pattern_string(input);
16695}
16696
16697constexpr bool is_absolute_pathname(
16698 std::string_view input, url_pattern_init::process_type type) noexcept {

Callers 1

processMethod · 0.85

Calls 1

escape_pattern_stringFunction · 0.85

Tested by

no test coverage detected