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
7
namespace
SlHelpers {
8
12
struct
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
}
SlHelpers::SUSE
Helpers specific to SUSE.
Definition
SUSE.h:12
SlHelpers::SUSE::isSUSEAddress
static constexpr bool isSUSEAddress(std::string_view email)
Evaluate if email is likely a SUSE address.
Definition
SUSE.h:18
include
helpers
SUSE.h
Generated by
1.16.1