helpers

package
v0.0.0-...-abad729 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(url, outputDir string) (string, error)

Types

type Ipsw

type Ipsw struct {
	ProductTypes map[string]ProductType `plist:"MobileDeviceProductTypes"`
}

func FetchIpswData

func FetchIpswData(feed string) (Ipsw, error)

GetIpswData return data from com_apple_macOSIPSW.xml (which is actually a plist)

func ParseIpswFile

func ParseIpswFile(path string) (Ipsw, error)

type ProductType

type ProductType struct {
	Name string
	Id   string
}

Jump to

Keyboard shortcuts

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