utils

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFiles

func CopyFiles(source string, destination string) error

func GetFlakePath

func GetFlakePath(baseDir string) (string, error)

func GetLoopDeviceBackingFile

func GetLoopDeviceBackingFile(loopDevice string) (string, error)

func GetRebuildCommand

func GetRebuildCommand(action string, setRelease string, flakeDir string) (string, []string, error)

func IsAbsolutePath

func IsAbsolutePath(path string) bool

func IsAlphanumeric

func IsAlphanumeric(s string) bool

func RunCommand

func RunCommand(args ...string) string

func RunNixOSRebuild

func RunNixOSRebuild(action string, setRelease string, flakeDir string) error

func RunParted

func RunParted(device string, args ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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