@@ -37,7 +37,7 @@ import class PackageGraph.PinsStore
37
37
import struct PackageGraph. PubGrubDependencyResolver
38
38
import struct PackageGraph. Term
39
39
import class PackageLoading. ManifestLoader
40
- import struct PackageModel. LibraryMetadata
40
+ import struct PackageModel. ProvidedLibrary
41
41
import enum PackageModel. PackageDependency
42
42
import struct PackageModel. PackageIdentity
43
43
import struct PackageModel. PackageReference
@@ -57,7 +57,7 @@ extension Workspace {
57
57
root: PackageGraphRootInput ,
58
58
packages: [ String ] = [ ] ,
59
59
dryRun: Bool = false ,
60
- availableLibraries: [ LibraryMetadata ] ,
60
+ availableLibraries: [ ProvidedLibrary ] ,
61
61
observabilityScope: ObservabilityScope
62
62
) throws -> [ ( PackageReference , Workspace . PackageStateChange ) ] ? {
63
63
let start = DispatchTime . now ( )
@@ -200,7 +200,7 @@ extension Workspace {
200
200
func _resolve(
201
201
root: PackageGraphRootInput ,
202
202
explicitProduct: String ? ,
203
- availableLibraries: [ LibraryMetadata ] ,
203
+ availableLibraries: [ ProvidedLibrary ] ,
204
204
resolvedFileStrategy: ResolvedFileStrategy ,
205
205
observabilityScope: ObservabilityScope
206
206
) throws -> DependencyManifests {
@@ -304,7 +304,7 @@ extension Workspace {
304
304
func _resolveBasedOnResolvedVersionsFile(
305
305
root: PackageGraphRootInput ,
306
306
explicitProduct: String ? ,
307
- availableLibraries: [ LibraryMetadata ] ,
307
+ availableLibraries: [ ProvidedLibrary ] ,
308
308
observabilityScope: ObservabilityScope
309
309
) throws -> DependencyManifests {
310
310
let ( manifests, precomputationResult) = try self . tryResolveBasedOnResolvedVersionsFile (
@@ -343,7 +343,7 @@ extension Workspace {
343
343
fileprivate func tryResolveBasedOnResolvedVersionsFile(
344
344
root: PackageGraphRootInput ,
345
345
explicitProduct: String ? ,
346
- availableLibraries: [ LibraryMetadata ] ,
346
+ availableLibraries: [ ProvidedLibrary ] ,
347
347
observabilityScope: ObservabilityScope
348
348
) throws -> ( DependencyManifests , ResolutionPrecomputationResult ) {
349
349
// Ensure the cache path exists.
@@ -495,7 +495,7 @@ extension Workspace {
495
495
func resolveAndUpdateResolvedFile(
496
496
root: PackageGraphRootInput ,
497
497
explicitProduct: String ? = nil ,
498
- availableLibraries: [ LibraryMetadata ] ,
498
+ availableLibraries: [ ProvidedLibrary ] ,
499
499
forceResolution: Bool ,
500
500
constraints: [ PackageContainerConstraint ] ,
501
501
observabilityScope: ObservabilityScope
@@ -849,7 +849,7 @@ extension Workspace {
849
849
dependencyManifests: DependencyManifests ,
850
850
pinsStore: PinsStore ,
851
851
constraints: [ PackageContainerConstraint ] ,
852
- availableLibraries: [ LibraryMetadata ] ,
852
+ availableLibraries: [ ProvidedLibrary ] ,
853
853
observabilityScope: ObservabilityScope
854
854
) throws -> ResolutionPrecomputationResult {
855
855
let computedConstraints =
@@ -1144,7 +1144,7 @@ extension Workspace {
1144
1144
/// Creates resolver for the workspace.
1145
1145
fileprivate func createResolver(
1146
1146
pins: PinsStore . Pins ,
1147
- availableLibraries: [ LibraryMetadata ] ,
1147
+ availableLibraries: [ ProvidedLibrary ] ,
1148
1148
observabilityScope: ObservabilityScope
1149
1149
) throws -> PubGrubDependencyResolver {
1150
1150
var delegate : DependencyResolverDelegate
0 commit comments