ReleaseButler 1.0
😙 package manager on GitHub 😙
Loading...
Searching...
No Matches
os-detect.h File Reference
#include <array>
#include <cstdint>
#include <optional>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  os_detect
 

Typedefs

using os_detect::packinfo
 Linux distribution related information.
 

Enumerations

enum  os_detect::OS_KIND : std::uint8_t { os_detect::debian , os_detect::ubuntu , os_detect::fedora , os_detect::deepin }
 

Functions

auto os_detect::OsDetect (const bool vmode) -> std::optional< enum OS_KIND >
 Used to detect the current Linux distributions.
 

Variables

constexpr int os_detect::OS_KIND = 4
 The types of Linux distributions that the current software can detect.
 
constexpr std::array< packinfo, OS_KINDos_detect::OS_PACKAGE
 Information about currently supported Linux distributions.