Skip to content

Commit 907fe7b

Browse files
committed
Make access modifiers public for users of the package.
1 parent 0b569a1 commit 907fe7b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Sources/PackageGraph/Resolution/ResolvedPackage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public struct ResolvedPackage {
4040
public let products: [ResolvedProduct]
4141

4242
/// The enabled traits of this package.
43-
package let enabledTraits: Set<String>
43+
public let enabledTraits: Set<String>
4444

4545
/// The dependencies of the package.
4646
public let dependencies: [PackageIdentity]

Sources/SPMBuildCore/Plugins/PluginInvocation.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public enum PluginAction {
3434
}
3535

3636
public struct PluginTool {
37-
let path: AbsolutePath
38-
let triples: [String]?
37+
public let path: AbsolutePath
38+
public let triples: [String]?
3939

40-
init(path: AbsolutePath, triples: [String]? = nil) {
40+
public init(path: AbsolutePath, triples: [String]? = nil) {
4141
self.path = path
4242
self.triples = triples
4343
}

Sources/Workspace/Workspace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public class Workspace {
129129
let repositoryManager: RepositoryManager
130130

131131
/// The registry manager.
132-
let registryClient: RegistryClient
132+
public let registryClient: RegistryClient
133133

134134
/// Registry based dependencies downloads manager used for interacting with registry based dependencies
135135
let registryDownloadsManager: RegistryDownloadsManager

0 commit comments

Comments
 (0)