SlHelpers
Loading...
Searching...
No Matches
SUSE.h
1// SPDX-License-Identifier: GPL-2.0-only
2
3#pragma once
4
5#include <string_view>
6
7namespace SlHelpers {
8
12struct SUSE {
18 static constexpr bool isSUSEAddress(std::string_view email) {
19 return email.ends_with("@suse.com") ||
20 email.ends_with("@suse.cz") ||
21 email.ends_with("@suse.de");
22 }
23};
24
25}
Helpers specific to SUSE.
Definition SUSE.h:12
static constexpr bool isSUSEAddress(std::string_view email)
Evaluate if email is likely a SUSE address.
Definition SUSE.h:18