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.
Most used Linux distributions.
func Detect ¶
Detect returns the Linux distribution.
func (Distro) String ¶
Source Files ¶
- Version
- v1.5.0 (latest)
- Published
- Jun 4, 2024
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 day ago –
Tools for package owners.