| 15775 | } |
| 15776 | |
| 15777 | tl::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 | |
| 15787 | tl::expected<std::string, errors> url_pattern_init::process_password( |
| 15788 | std::string_view value, process_type type) { |
nothing calls this directly
no test coverage detected