util

package
v0.0.0-...-3d8c9ad Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: AGPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const KernelMirror = "https://cdn.kernel.org/pub/linux/kernel/v%s.x/linux-%s.tar.gz"

Variables

This section is empty.

Functions

func GetKernel

func GetKernel(project, target, version string) error

func SetWD

func SetWD(s string)

func WD

func WD(paths ...interface{}) string

func WDInitramfs

func WDInitramfs(project string, paths ...interface{}) string

func WDKernel

func WDKernel(project, kernel string, paths ...interface{}) string

func WDProject

func WDProject(project string, paths ...interface{}) string

Types

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func (*Writer) Data

func (writer *Writer) Data() []byte

func (*Writer) Error

func (writer *Writer) Error(err error) error

func (*Writer) Len

func (writer *Writer) Len() int

func (*Writer) Write

func (writer *Writer) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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