A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/moby/moby/v2@v2.0.0-20250814210528-a34c4d9bb99f/pkg/parsers/kernel below:

kernel package - github.com/moby/moby/v2/pkg/parsers/kernel - Go Packages

Package kernel provides helper function to get, parse and compare kernel versions for different platforms.

This section is empty.

This section is empty.

func CheckKernelVersion(k, major, minor int) bool

CheckKernelVersion checks if current kernel is newer than (or equal to) the given version.

CompareKernelVersion compares two kernel.VersionInfo structs. Returns -1 if a < b, 0 if a == b, 1 it a > b

VersionInfo holds information about the kernel.

GetKernelVersion gets the current kernel version.

ParseRelease parses a string and creates a VersionInfo based on it.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4