ResolvedPackage
A fully resolved package. Contains resolved modules, products and dependencies of the package.
ResolvedPackage.swift:17struct ResolvedPackage
Citizens in PackageGraph
Conformances
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Escapable
protocol Identifiable<ID>
A class of types whose instances hold the value of an entity with stable identity.
Type members
init(underlying: Package, defaultLocalization: String?, supportedPlatforms: [SupportedPlatform], dependencies: [PackageIdentity], modules: IdentifiableSet<ResolvedModule>, products: [ResolvedProduct], registryMetadata: RegistryReleaseMetadata?, platformVersionProvider: PlatformVersionProvider
)
Instance members
let defaultLocalization: String?
The default localization for resources.
let dependencies: [PackageIdentity]
The dependencies of the package.
var description: String
var id: PackageIdentity
var identity: PackageIdentity
var manifest: Manifest
The manifest describing the package.
let modules: IdentifiableSet<ResolvedModule>
The modules contained in the package.
var path: AbsolutePath
The local path of the package.
let products: [ResolvedProduct]
The products produced by the package.
let registryMetadata: RegistryReleaseMetadata?
If the given package’s source is a registry release, this provides additional metadata and signature information.
let supportedPlatforms: [SupportedPlatform]
The list of platforms that are supported by this package.
let underlying: Package
The underlying package reference.
func getSupportedPlatform(for: Platform, usingXCTest: Bool
) -> SupportedPlatform