state

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() (string, error)

func Save

func Save(path string, st File) error

Types

type File

type File struct {
	Version                int               `json:"version"`
	PinApplied             bool              `json:"pin_applied"`
	OriginalAllowedCPUs    map[string]string `json:"original_allowed_cpus"`
	OSCPUs                 string            `json:"os_cpus"`
	GameCPUs               string            `json:"game_cpus"`
	UpdatedAt              time.Time         `json:"updated_at"`
	LastSuccessfulRestore  time.Time         `json:"last_successful_restore"`
	LastSuccessfulPinApply time.Time         `json:"last_successful_pin_apply"`
}

func Load

func Load(path string) (File, error)

Jump to

Keyboard shortcuts

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