utils

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Files = struct {
	OrangeFox     file
	CleanUserdata file
	GPT           file
	UEFIBootshim  file
	UEFIPayload   file
}{
	OrangeFox: file{
		Name: "ofox.img",
		Url:  "https://timoxa0.su/share/nabu/deployer/ofox.img",
	},
	CleanUserdata: file{
		Name: "userdata.img",
		Url:  "https://timoxa0.su/share/nabu/deployer/userdata.img",
	},
	GPT: file{
		Name: "gpt_both0.bin",
		Url:  "https://timoxa0.su/share/nabu/deployer/gpt_both0.bin",
	},
	UEFIBootshim: file{
		Name: "BootShim.Dualboot.bin",
		Url:  "https://timoxa0.su/share/nabu/deployer/uefi/BootShim.Dualboot.bin",
	},
	UEFIPayload: file{
		Name: "nabu_UEFI.fd",
		Url:  "https://timoxa0.su/share/nabu/deployer/uefi/nabu_UEFI.fd",
	},
}

Functions

func GenRepartCommands

func GenRepartCommands(percent int, blocksize string) []string

func GetFreePort

func GetFreePort() (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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