package distro
import "github.com/tredoe/osutil/distro"
Package distro detects the Linux distribution.
Index ¶
Types ¶
type Distro ¶
type Distro int
Distro represents a distribution of Linux system.
const ( Arch Distro CentOS Debian Fedora Manjaro OpenSUSE Ubuntu )
Most used Linux distributions.
func Detect ¶
Detect returns the Linux distribution.
func (Distro) String ¶
Source Files ¶
- Version
- v1.0.1
- Published
- Jan 10, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 1 day ago –
Tools for package owners.