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

Method process_username

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

Source from the content-addressed store, hash-verified

15775}
15776
15777tl::expected<std::string, errors> url_pattern_init::process_username(
15778 std::string_view value, process_type type) {
15779 // If type is "pattern" then return value.
15780 if (type == process_type::pattern) {
15781 return std::string(value);
15782 }
15783 // Return the result of running canonicalize a username given value.
15784 return url_pattern_helpers::canonicalize_username(value);
15785}
15786
15787tl::expected<std::string, errors> url_pattern_init::process_password(
15788 std::string_view value, process_type type) {

Callers

nothing calls this directly

Calls 1

canonicalize_usernameFunction · 0.85

Tested by

no test coverage detected