File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public struct ResolvedPackage {
40
40
public let products : [ ResolvedProduct ]
41
41
42
42
/// The enabled traits of this package.
43
- package let enabledTraits : Set < String >
43
+ public let enabledTraits : Set < String >
44
44
45
45
/// The dependencies of the package.
46
46
public let dependencies : [ PackageIdentity ]
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ public enum PluginAction {
34
34
}
35
35
36
36
public struct PluginTool {
37
- let path : AbsolutePath
38
- let triples : [ String ] ?
37
+ public let path : AbsolutePath
38
+ public let triples : [ String ] ?
39
39
40
- init ( path: AbsolutePath , triples: [ String ] ? = nil ) {
40
+ public init ( path: AbsolutePath , triples: [ String ] ? = nil ) {
41
41
self . path = path
42
42
self . triples = triples
43
43
}
Original file line number Diff line number Diff line change @@ -1237,6 +1237,22 @@ extension Workspace {
1237
1237
completion ( result)
1238
1238
}
1239
1239
}
1240
+
1241
+ public func changeSigningEntityFromVersion(
1242
+ package : PackageIdentity ,
1243
+ version: Version ,
1244
+ signingEntity: SigningEntity ,
1245
+ origin: SigningEntity . Origin ,
1246
+ observabilityScope: ObservabilityScope
1247
+ ) throws {
1248
+ try self . registryClient. changeSigningEntityFromVersion (
1249
+ package : package ,
1250
+ version: version,
1251
+ signingEntity: signingEntity,
1252
+ origin: origin,
1253
+ observabilityScope: observabilityScope
1254
+ )
1255
+ }
1240
1256
}
1241
1257
1242
1258
extension Workspace {
You can’t perform that action at this time.
0 commit comments