RegistryPackageContainer
RegistryPackageContainer.swift:24class RegistryPackageContainer
Citizens in Workspace
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 PackageContainer
A container of packages.
Type members
init(package: PackageReference, identityResolver: IdentityResolver, dependencyMapper: DependencyMapper, registryClient: RegistryClient, manifestLoader: ManifestLoaderProtocol, currentToolsVersion: ToolsVersion, observabilityScope: ObservabilityScope
)
Instance members
var description: String
let package: PackageReference
func getDependencies(at: Version, productFilter: ProductFilter
) throws -> [PackageContainerConstraint] func getDependencies(at: String, productFilter: ProductFilter
) throws -> [PackageContainerConstraint] func getUnversionedDependencies(productFilter: ProductFilter
) throws -> [PackageContainerConstraint] func isToolsVersionCompatible(at: Version
) -> Bool func loadPackageReference(at: BoundVersion
) throws -> PackageReference func toolsVersion(for: Version
) throws -> ToolsVersion func toolsVersionsAppropriateVersionsDescending(
) throws -> [Version] func versionsAscending(
) throws -> [Version] func versionsDescending(
) throws -> [Version]