Orchard.CpuInfo (orchard v0.1.7)
View SourceCPU and OS detection utilities for determining system architecture.
Summary
Functions
Returns the architecture string for AXe binary downloads.
Returns the CPU architecture type.
Returns the operating system type.
Checks if the current platform is supported for Apple device management.
Returns a descriptive error message for unsupported platforms.
Functions
@spec axe_arch() :: String.t() | nil
Returns the architecture string for AXe binary downloads.
@spec cpu_type() :: String.t()
Returns the CPU architecture type.
@spec os_type() :: :macos | :linux | :windows | :freebsd | :other
Returns the operating system type.
@spec supported_platform?() :: boolean()
Checks if the current platform is supported for Apple device management.
@spec unsupported_platform_error() :: String.t()
Returns a descriptive error message for unsupported platforms.