Skip to content

Commit 62596eb

Browse files
committed
Make SwiftSDKConfigurationStore.configure package accessible and add docs
1 parent dec4007 commit 62596eb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Sources/PackageModel/SwiftSDKs/SwiftSDKConfigurationStore.swift

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,15 @@ public final class SwiftSDKConfigurationStore {
158158
return true
159159
}
160160

161-
public func configure(
161+
/// Configures the specified SDK and identified target triple with the configuration parameter.
162+
/// - Parameters:
163+
/// - sdkID: ID of the Swift SDK to operate on.
164+
/// - tripleString: run-time triple for which the properties should be configured, or nil to configure all triples for the SDK
165+
/// - showConfiguration: if true, simply print the current configuration for the target triple(s)
166+
/// - resetConfiguration: if true, reset the configuration for the target triple(s)
167+
/// - config: the configuration parameters to set for for the target triple(s)
168+
/// - Returns: `true` if custom configuration was successful, `false` if no configuration was performed.
169+
package func configure(
162170
sdkID: String,
163171
targetTriple: String?,
164172
showConfiguration: Bool,

0 commit comments

Comments
 (0)