Enumerationswift-package-manager 6.0.1Workspace
WorkspaceResolveReason
Enumeration of the different reasons for which the resolver needs to be run.
Workspace.swift:37enum WorkspaceResolveReason
Cases
case forced
Resolution was forced.
case newPackages(packages: [PackageReference])
Requirements were added for new packages.
case packageRequirementChange(package: PackageReference, state: Workspace.ManagedDependency.State?, requirement: PackageRequirement)
The requirement of a dependency has changed.
case other(String)
An unknown reason.
case errorsPreviouslyReported
Errors previously reported, e.g. during cloning. This will skip emitting additional unhelpful diagnostics.
Citizens in Workspace
Conformances
protocol Equatable
A type that can be compared for value equality.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.