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