restore

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package restore provides helpers for working with macOS restore images.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageInfo

type ImageInfo struct {
	URL           string
	BuildVersion  string
	OSVersion     foundation.NSOperatingSystemVersion
	Supported     bool
	MinCPUCount   uint
	MinMemorySize uint64
	Image         vz.VZMacOSRestoreImage
}

ImageInfo describes a macOS restore image.

func FetchLatest

func FetchLatest(ctx context.Context) (ImageInfo, error)

FetchLatest fetches the latest restore image supported by the current host.

func Load

func Load(ctx context.Context, path string) (ImageInfo, error)

Load loads a restore image from a local IPSW.

Jump to

Keyboard shortcuts

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