kernel

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2025 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(k, major, minor int) (bool, error)

func Compare

func Compare(a, b Version) int

func CompareMajorAndMinor added in v1.5.0

func CompareMajorAndMinor(aMajor, aMinor, bMajor, bMinor int) int

Types

type Version

type Version struct {
	Kernel int
	Major  int
	Minor  int
	Flavor string
}

func Get

func Get() (*Version, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL