Documentation
¶
Index ¶
Constants ¶
View Source
const ( DeveloperDiskImagesDir = "/Library/Developer/DeveloperDiskImages" CandidateDDIDir = "/Library/Developer/CoreDevice/CandidateDDIs" )
Variables ¶
View Source
var ErrNoDDIsFound = errors.New("no DDIs found")
Functions ¶
This section is empty.
Types ¶
type Platform ¶
type Platform struct {
Metadata struct {
BuildUpdate string `json:"buildUpdate"`
ContentIsCompatible bool `json:"contentIsCompatible"`
CoreDeviceVersionChecksIncludeDevelopmentRevision bool `json:"coreDeviceVersionChecksIncludeDevelopmentRevision"`
DevelopmentRevision int `json:"developmentRevision"`
EnforcingCoreDeviceVersionChecks bool `json:"enforcingCoreDeviceVersionChecks"`
IsUsable bool `json:"isUsable"`
Platform string `json:"platform"`
ProjectMetadata []struct {
Name string `json:"name"`
Version string `json:"version"`
} `json:"projectMetadata"`
Variant string `json:"variant"`
} `json:"ddiMetadata"`
HostDDI string `json:"hostDDI"`
}
type PreferredDDI ¶
type PreferredDDI struct {
Info struct {
Arguments []string `json:"arguments"`
CommandType string `json:"commandType"`
Environment struct {
TERM string `json:"TERM"`
} `json:"environment"`
JSONVersion int `json:"jsonVersion"`
Outcome string `json:"outcome"`
Version string `json:"version"`
} `json:"info"`
Result struct {
HostCoreDeviceVersion string `json:"hostCoreDeviceVersion"`
Platforms struct {
IOS []Platform `json:"iOS"`
MacOS []Platform `json:"macOS"`
TvOS []Platform `json:"tvOS"`
WatchOS []Platform `json:"watchOS"`
XrOS []Platform `json:"xrOS"`
} `json:"platforms"`
} `json:"result"`
}
func (*PreferredDDI) Empty ¶
func (i *PreferredDDI) Empty() bool
Click to show internal directories.
Click to hide internal directories.